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/recamans-sequence/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 / recamans-sequence / wolfram.txt` 18 lines ยท 1301 bytes Raw Blame History 1 Wolfram cross-check of tasks/recamans-sequence/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) = `db0c2a648e417ebc5b98c8477a0b7a8c0c4091e9bbb30b8261655e6dad95c1d6`. 6 agreement: YES 7 query: 8 seen = CreateDataStructure["HashSet", {0}]; a = {0}; v = 0; n = 0; dup = None; need = 1000; 9 While[need > 0, n++; b = v - n; 10 v = If[b > 0 && ! seen["MemberQ", b], b, v + n]; 11 If[seen["MemberQ", v], If[dup === None, dup = {n, v}], If[v <= 1000, need--]]; 12 seen["Insert", v]; If[n < 15, AppendTo[a, v]]]; 13 s = "first 15 terms: " <> StringRiffle[ToString /@ a, " "] <> "\n" <> 14 "first term already seen: a(" <> ToString[dup[[1]]] <> ") = " <> ToString[dup[[2]]] <> "\n" <> 15 "terms a(0)..a(n) first contain every integer 0..1000 at n = " <> ToString[n] <> "\n"; 16 {Hash[s, "SHA256", "HexString"], s} 17 result: 18 Out[1]= {"`db0c2a648e417ebc5b98c8477a0b7a8c0c4091e9bbb30b8261655e6dad95c1d6`", "first 15 terms: 0 1 3 6 2 7 13 20 12 21 11 22 10 23 9\nfirst term already seen: a(24) = 42\nterms a(0)..a(n) first contain every integer 0..1000 at n = 328002\n"}