interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / tasks / abundant-deficient-and-perfect-number-classifications / wolfram.txt

12 lines · 850 bytes Raw Blame History
1Wolfram cross-check of tasks/abundant-deficient-and-perfect-number-classifications/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) = 4eabb54cab93c76c9f863c5fd98f1dcca4cff2ccf3791c77a8713642d852ac69.
6agreement: YES
7query:
8c = Counts[Table[Sign[DivisorSigma[1, n] - 2 n], {n, 1, 20000}]];
9s = "deficient: " <> ToString[c[-1]] <> "\nperfect: " <> ToString[c[0]] <> "\nabundant: " <> ToString[c[1]] <> "\n";
10{Hash[s, "SHA256", "HexString"], s}
11result:
12Out[1]= {"4eabb54cab93c76c9f863c5fd98f1dcca4cff2ccf3791c77a8713642d852ac69", "deficient: 15043\nperfect: 4\nabundant: 4953\n"}