omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / abundant-deficient-and-perfect-number-classifications / wolfram.txt
| 1 | Wolfram cross-check of tasks/abundant-deficient-and-perfect-number-classifications/expected.txt |
| 2 | tool: WolframLanguageEvaluator (Wolfram MCP, https://agenttools.wolfram.com/mcp), 2026-10-27 |
| 3 | The query builds the task's whole output text from Wolfram built-ins, independently of omc and |
| 4 | of oracle.py, and returns {SHA-256 of that text, the text}. It agrees when that SHA-256 equals |
| 5 | sha256(expected.txt) = 4eabb54cab93c76c9f863c5fd98f1dcca4cff2ccf3791c77a8713642d852ac69. |
| 6 | agreement: YES |
| 7 | query: |
| 8 | c = Counts[Table[Sign[DivisorSigma[1, n] - 2 n], {n, 1, 20000}]]; |
| 9 | s = "deficient: " <> ToString[c[-1]] <> "\nperfect: " <> ToString[c[0]] <> "\nabundant: " <> ToString[c[1]] <> "\n"; |
| 10 | {Hash[s, "SHA256", "HexString"], s} |
| 11 | result: |
| 12 | Out[1]= {"4eabb54cab93c76c9f863c5fd98f1dcca4cff2ccf3791c77a8713642d852ac69", "deficient: 15043\nperfect: 4\nabundant: 4953\n"} |