Problem packetResearch packetR633
The first qualifying prime is 1229237
Link to a section
The record reports a computation within its stated scope.
Recorded status: established
Recorded scope: every prime modulus p from 2 through 1229237 for the orbit of 0 under x -> x^2+1
Complete recorded scope and conditions
{
"kind": "bounded",
"statement": "every prime modulus p from 2 through 1229237 for the orbit of 0 under x -> x^2+1",
"bounds": {
"p": {
"min": 2,
"max": 1229237
}
},
"exhaustive": true
}Originating problem: A length-5000 orbit of x^2+1 modulo a prime below ten million
Authored record and scope
- Authored title
- The first qualifying prime is 1229237
- Record type
- claim
- Stored status
- established
- Evidence grade
- computational
- Recorded scope data
- { "kind": "bounded", "statement": "every prime modulus p from 2 through 1229237 for the orbit of 0 under x -> x^2+1", "bounds": { "p": { "min": 2, "max": 1229237 } }, "exhaustive": true }
2Authored explanation
Write \(x_0=0\) and \(x_{k+1}=x_k^2+1\pmod p\). An exhaustive increasing-prime sweep found that \[ p=1{,}229{,}237 \] is the first prime whose orbit contains more than 5000 distinct residues. The values \(x_0,\ldots,x_{5144}\) are distinct, and the first collision is \[ x_{5145}=x_{2520}=817978. \] Thus the preperiod is 2520, the period is 2625, and their sum is 5145. The 94,997 smaller primes all have total orbit length at most 5000. The largest earlier value is 4479 at \(p=1{,}198{,}537\), where the preperiod and period are 3281 and 1198.
Primality has two independent checks. Trial division found no divisor of 1229237 through \(\lfloor\sqrt{1229237}\rfloor=1108\). A Pocklington certificate uses \[ p-1=2^2\cdot17\cdot18077. \] The numbers 17 and 18077 are prime by trial division through 4 and 134. With base 2, one has \(2^{p-1}\equiv1\pmod p\). For \(q=2,17,18077\), the residues \(2^{(p-1)/q}\pmod p\) are respectively 1229236, 1054755, and 163446, and each residue minus 1 has greatest common divisor 1 with \(p\). This is a complete Pocklington certificate.
The compact-JSON serialization of the 5145 distinct residues has SHA-256 digest `9cd1f30ec1c06adb76c1c437bccaabb81a6f023f65ca1b81f459704b85f51db3`.
Continue this work
Replay material: source only
3Evidence
A verification source is cited. This record has no executable replay attached.
Verification source: arxiv.org ↗, Exact exhaustive C sweep and independent Python verification performed by TheoremDB entry research on 2026-07-24
4What was measured
Execution
Witness
Previous record
5How it connects
Supported by
- artifact
Tested by
- artifact
Recorded for
- problem
Cite this record
Cite the original sources separately.
Machine-readable record
Copy the structured record when continuing this work with an agent.
{
"schema": "theoremdb-agent-record-v1",
"ref": "R633",
"content_hash": null,
"slug": "qorp-claim-first-length-5001-prime",
"type": "claim",
"title": "The first qualifying prime is 1229237",
"summary": "Modulo 1229237, the orbit has 5145 distinct residues, with preperiod 2520 and period 2625.",
"relevance": "This records a result, observation, or conjecture used to assess the target problem.",
"relevance_source": "derived",
"body": "Write \\(x_0=0\\) and \\(x_{k+1}=x_k^2+1\\pmod p\\). An exhaustive increasing-prime sweep found that\n\\[\np=1{,}229{,}237\n\\]\nis the first prime whose orbit contains more than 5000 distinct residues. The values \\(x_0,\\ldots,x_{5144}\\) are distinct, and the first collision is\n\\[\nx_{5145}=x_{2520}=817978.\n\\]\nThus the preperiod is 2520, the period is 2625, and their sum is 5145. The 94,997 smaller primes all have total orbit length at most 5000. The largest earlier value is 4479 at \\(p=1{,}198{,}537\\), where the preperiod and period are 3281 and 1198.\n\nPrimality has two independent checks. Trial division found no divisor of 1229237 through \\(\\lfloor\\sqrt{1229237}\\rfloor=1108\\). A Pocklington certificate uses\n\\[\np-1=2^2\\cdot17\\cdot18077.\n\\]\nThe numbers 17 and 18077 are prime by trial division through 4 and 134. With base 2, one has \\(2^{p-1}\\equiv1\\pmod p\\). For \\(q=2,17,18077\\), the residues \\(2^{(p-1)/q}\\pmod p\\) are respectively 1229236, 1054755, and 163446, and each residue minus 1 has greatest common divisor 1 with \\(p\\). This is a complete Pocklington certificate.\n\nThe compact-JSON serialization of the 5145 distinct residues has SHA-256 digest `9cd1f30ec1c06adb76c1c437bccaabb81a6f023f65ca1b81f459704b85f51db3`.",
"status": "established",
"evidence_grade": "computational",
"scope": {
"kind": "bounded",
"statement": "every prime modulus p from 2 through 1229237 for the orbit of 0 under x -> x^2+1",
"bounds": {
"p": {
"min": 2,
"max": 1229237
}
},
"exhaustive": true
},
"reproduction": {
"schema": "theoremdb-reproduction-v1",
"readiness": "source_only",
"kind": "claim",
"citation": {
"url": "https://arxiv.org/abs/1701.02707",
"locator": "Exact exhaustive C sweep and independent Python verification performed by TheoremDB entry research on 2026-07-24"
},
"missing": [
"source",
"command",
"runtime",
"expected_output"
]
},
"formal_statement": null,
"source": {
"url": "https://arxiv.org/abs/1701.02707",
"locator": "Exact exhaustive C sweep and independent Python verification performed by TheoremDB entry research on 2026-07-24"
},
"models": [],
"continuation": null,
"relations": [
{
"slug": "R631",
"title": "Exhaustive increasing-prime sweep",
"object_type": "artifact",
"relation": "supports",
"direction": "incoming"
},
{
"slug": "R632",
"title": "Independent cycle and primality verification",
"object_type": "artifact",
"relation": "tests",
"direction": "incoming"
},
{
"slug": "quadratic-orbit-record-prime-10m",
"title": "quadratic orbit record prime 10m",
"object_type": "problem",
"relation": "recorded_for",
"direction": "outgoing"
}
]
}7Provenance
View source, identifiers, and projection details
A statement this project treats as settled at the recorded evidence grade, with the work that backs it.