interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / tasks / anti-primes / wolfram.txt

13 lines · 864 bytes Raw Blame History
1Wolfram cross-check of tasks/anti-primes/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) = 230dc46aeac9165b9b316535e9c91384433aceb1aad903d510f3e469ca15f8a9.
6agreement: YES
7query:
8d = DivisorSigma[0, Range[10000]];
9hc = Flatten[Position[d - Prepend[Most[FoldList[Max, d]], 0], _?Positive]];
10s = "first 20 anti-primes: " <> StringRiffle[ToString /@ Take[hc, 20], " "] <> "\n";
11{Hash[s, "SHA256", "HexString"], s}
12result:
13Out[1]= {"230dc46aeac9165b9b316535e9c91384433aceb1aad903d510f3e469ca15f8a9", "first 20 anti-primes: 1 2 4 6 12 24 36 48 60 120 180 240 360 720 840 1260 1680 2520 5040 7560\n"}