interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / tasks / pernicious-numbers / wolfram.txt

13 lines · 1084 bytes Raw Blame History
1Wolfram cross-check of tasks/pernicious-numbers/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) = ce6a584e350fb8899870dbc726aef10cfc4458eba3fcb7ca091f6d6e204f7568.
6agreement: YES
7query:
8pern[n_] := PrimeQ[DigitCount[n, 2, 1]];
9s = "first 25 pernicious numbers: " <> StringRiffle[ToString /@ Take[Select[Range[100], pern], 25], " "] <> "\n" <>
10 "pernicious numbers from 888888877 to 888888888: " <> StringRiffle[ToString /@ Select[Range[888888877, 888888888], pern], " "] <> "\n";
11{Hash[s, "SHA256", "HexString"], s}
12result:
13Out[1]= {"ce6a584e350fb8899870dbc726aef10cfc4458eba3fcb7ca091f6d6e204f7568", "first 25 pernicious numbers: 3 5 6 7 9 10 11 12 13 14 17 18 19 20 21 22 24 25 26 28 31 33 34 35 36\npernicious numbers from 888888877 to 888888888: 888888877 888888878 888888880 888888883 888888885 888888886\n"}