interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / tasks / modular-exponentiation / wolfram.txt

13 lines · 861 bytes Raw Blame History
1Wolfram cross-check of tasks/modular-exponentiation/expected.txt
2tool: WolframLanguageEvaluator (Wolfram MCP, https://agenttools.wolfram.com/mcp), 2026-10-27
3The query builds the task's whole output text from Wolfram built-ins, independently of omc and
4of oracle.py, and returns {SHA-256 of that text, the text}. It agrees when that SHA-256 equals
5sha256(expected.txt) = ee023d2d24dce4d70b433f300d3a0ffece67eaa82fe895a730a79d2f3d8cb1f7.
6agreement: YES
7query:
8a = 2988348162058574136915891421498819466320163312926952423791023078876139;
9b = 2351399303373464486466122544523690094744975233415544072992656881240319;
10s = "a^b mod 10^40 = " <> ToString[PowerMod[a, b, 10^40]] <> "\n";
11{Hash[s, "SHA256", "HexString"], s}
12result:
13Out[1]= {"ee023d2d24dce4d70b433f300d3a0ffece67eaa82fe895a730a79d2f3d8cb1f7", "a^b mod 10^40 = 1527229998585248450016808958343740453059\n"}