Erdős Problem 193 · now on arXiv

Can a robot walk forever with a finite menu of moves—and never visit three points on one line? Yes.

Erdős Problem 193 asks whether every such walk on the 3D integer grid must eventually contain three collinear points. This construction gives an explicit counterexample, published as arXiv:2609.01766.

the walk continues forever one rendered view
Infinitethe sequence never stops
1–7height changes in the walk
16small 3D steps
No threevisited points on one line
Harness
Orchestrator
1
The whole construction

Simple rule · unexpected geometry

Pass any \(n\) to obtain the first \(n\) exact lattice points. There is no fixed maximum: the same rule defines the walk for every natural-number index, so arbitrarily long prefixes expose more of the infinite structure.

def gaussian_walk(n):
    z = 0j
    points = []

    for k in range(n):
        s2 = k.bit_count()
        u = 1j**s2
        c = 1j * (1 - u) / (1 - 1j)
        W = 2 * z + c
        H = 4 * k + s2 % 4
        P = int(W.real), int(W.imag), H
        points.append(P)
        z += u

    return points

A binary counter becomes a self-similar spatial walk.

\[ \begin{aligned} u_n&=i^{s_2(n)},\\ z_0&=0,\qquad z_{n+1}=z_n+u_n,\\ c_n&=\frac{i(1-u_n)}{1-i},\\ W_n&=2z_n+c_n,\\ H_n&=4n+s_2(n)\bmod4,\\ P_n&=(\Re W_n,\Im W_n,H_n). \end{aligned} \]

This recurrence generates the fractal walk for every \(n\).

2
Prove the key identity

Every chord has the same binary fingerprint as its height.

If \(u_m=u_n\) and \(n-m\) is even, the binary recurrence halves both indices and factors the planar chord by \(1+i\). Each halving adds one to the valuation of the squared norm. After \(\nu_2(n-m)\) halvings, the remaining gap is odd and the remaining squared norm is odd:

\[ u_m=u_n\quad\Longrightarrow\quad \nu_2\!\left(|z_n-z_m|^2\right)=\nu_2(n-m). \]

The matching square and height tags remove the equal-state restriction. Adjacent corners make both sides odd; opposite corners give valuation one. Thus every pair satisfies

\[ \nu_2\!\left(|w_n-w_m|^2\right)=\nu_2(h_n-h_m). \]

Multiplying a planar chord by \(k\) adds \(2\nu_2(k)\) because its squared norm scales by \(k^2\). A height gap gains only \(\nu_2(k)\). That mismatch makes a straight line impossible. See the full derivation.

3
Rule out a line

The pair law rules out collinearity.

Three Gaussian-lift points on a supposed line, with their two adjacent displacement vectors.
Three lifted points on a line would give one common complex slope for the two adjacent chords and their sum.

Let \(A,B>0\) be the adjacent height gaps and \(X,Y\) the matching planar chords. Collinearity gives \(X/A=Y/B=(X+Y)/(A+B)\).

Contradiction

Equal order + equal order has larger order.

The three pair laws force \(\nu_2(A)=\nu_2(B)=\nu_2(A+B)\). But after removing their common power of two, \(A\) and \(B\) are both odd, so their sum is even.

Experimental infinite family This walk is just one of an infinite family

A four-state automaton turns each indexed ± sign rule into a striking self-similar walk. Explore compact, branching, woven, and reflective forms.

Explore the rule family →

New follow-up: the joint d*/s* minimum problem → The proved floor is four; dimensions and step counts four and five remain open; g85 supplies a proposed ceiling of six pending independent review.

An earlier construction

A Hilbert-curve walk first exposed the four-state tag geometry.

Before the compact Gaussian formula, an earlier construction followed a discrete Hilbert curve—a recursive path through square grids—and tracked four possible orientations. Those orientations suggested the cyclic corner tags. This background is optional: the code and proof above are self-contained.

See the earlier construction’s development →
An earlier construction based on a discrete Hilbert curve.
Earlier constructionUseful geometric intuition; not a premise of the Gaussian proof.
Behind the proof

Built at a desk, worked out by hand.

See the full timeline →
A well-used MacBook connected to an iMac, network equipment, and power adapters on a glass desk. The workstationWhere the proof was studied and rebuilt Handwritten Hilbert pair-law notes across a whiteboard. August 26Opening the pair law Handwritten base-4 and binary first-mismatch calculations across a whiteboard. August 27Following the bits