omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / almost-prime / wolfram.txt
| 1 | Wolfram cross-check of tasks/almost-prime/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) = 7630db515363db20a870043e295985483a840ac4790e67618162f873b200d2c3. |
| 6 | agreement: YES |
| 7 | query: |
| 8 | s = StringJoin[Table["k = " <> ToString[k] <> ":" <> StringJoin[(" " <> ToString[#]) & /@ Take[Select[Range[2, 300], PrimeOmega[#] == k &], 10]] <> "\n", {k, 1, 5}]]; |
| 9 | {Hash[s, "SHA256", "HexString"], s} |
| 10 | result: |
| 11 | Out[1]= {"7630db515363db20a870043e295985483a840ac4790e67618162f873b200d2c3", "k = 1: 2 3 5 7 11 13 17 19 23 29\nk = 2: 4 6 9 10 14 15 21 22 25 26\nk = 3: 8 12 18 20 27 28 30 42 44 45\nk = 4: 16 24 36 40 54 56 60 81 84 88\nk = 5: 32 48 72 80 108 112 120 162 168 176\n"} |