Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-rosetta/blob/main/tasks/kaprekar-numbers/wolfram.txt # omega-rosetta aien-dev/omega-rosetta Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-rosetta / tasks / kaprekar-numbers / wolfram.txt` 15 lines ยท 1127 bytes Raw Blame History 1 Wolfram cross-check of tasks/kaprekar-numbers/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) = `f1b64f49d73a3c608576e7670f9afebea1b2f2901d9850bf5261a4c170ec6c94`. 6 agreement: YES 7 query: 8 n = Range[10^6 - 1]; sq = n^2; 9 hits = Total[Table[With[{q = Quotient[sq, 10^k], r = Mod[sq, 10^k]}, (1 - Unitize[q + r - n]) Unitize[r] Unitize[q]], {k, 1, 12}]]; 10 ks = Union[Flatten[Position[hits, h_ /; h > 0]], {1}]; 11 s = "Kaprekar numbers below 10000: " <> StringRiffle[ToString /@ Select[ks, # < 10000 &], " "] <> "\n" <> 12 "count of Kaprekar numbers below `1000000`: " <> ToString[Length[ks]] <> "\n"; 13 {Hash[s, "SHA256", "HexString"], s} 14 result: 15 Out[1]= {"`f1b64f49d73a3c608576e7670f9afebea1b2f2901d9850bf5261a4c170ec6c94`", "Kaprekar numbers below 10000: 1 9 45 55 99 297 703 999 2223 2728 4879 4950 5050 5292 7272 7777 9999\ncount of Kaprekar numbers below `1000000`: 54\n"}