Erdős #1212 · number theory / primes
Let be the graph with vertex set those pairs with , in which we join two vertices if the differ in only one coordinate, and there by .
Is there a path going to inf…
Inferred from the community field; finer classification has not been reviewed.
Problem statement
Let be the graph with vertex set those pairs with , in which we join two vertices if the differ in only one coordinate, and there by .
Is there a path going to infinity on , say , such that for all both and at least one of or is composite?
Lean 4
Formal statement
The formalization is available at the source below; its code is not attached here yet.
- Upstream Lean 4 statement for Erdős #1212 ↗
External statement reference. Not compiled or verified by this platform; upstream files may contain open proof obligations.
- Formal Conjectures — Erdős Problem 1212 ↗
On-site verification needs an executable Lean target. None is attached yet.
A source attachment or link is not a verified proof. The statement’s correspondence with the original question needs human review.
Proofs & verification
No Lean has been submitted for this problem yet. A Lean file can be attached to a submission for review, though with no target here it cannot be machine-checked.
Background
Herzog and Stewart studied the graph , which they called visible lattice points, and proved that there is only one infinite component, and conjectured that if is prime and then always belongs to the infinite component. (This is according to [Er80]; I can find no such results of Herzog and Stewart, who have a paper [HeSt71] on which finite patterns appear in the set of visible lattice points, but does not address this question.)
Erdős originally asked this question with just the condition that and (as he recounts in [Er80]) 'foolishly offered 25 dollars for a proof. In the evening Stewart gave the simple proof: can be joined to '. Indeed, if is the th prime then there is a path
This is permissible provided contains no multiple of , which is true provided , which is true for all .
One could further demand that the path be monotone (i.e. every step increases the distance from the origin). Is there a monotone path where we change direction after a bounded number of steps?
The first block of the graph restricted to those vertices with both and at least one of or composite is shown here.
Progress & source assessment
The source labels this entry OPEN in the 2026-09-08 snapshot. Editorial progress notes are reproduced as source commentary, not independently verified results. Prize amounts and Lean badges at the source are not local awards or verification.
Recorded progress
Add yours →Nothing recorded yet. A pointer to a paper the entry is missing counts.
Machine attempts
0 recordedAttempts run against the statement below and are recorded in full, including the failures. The point is to stop the next model — and the next person — from re-walking a road that is already known to end. Each attempt costs 25 credits.
No machine attempts recorded.
Sign in to run an attempt. New accounts start with enough credits for ten.
Discussion
0 notesNotes are for clarifying the statement, flagging a missing reference, or recording why an approach fails. Claimed solutions belong in a submission, where they can be reviewed.
No notes yet.
Sign in to add a note.