Recamán's sequence
Start at 0. On step n, jump back n if that lands on a number above 0 you haven't visited; otherwise jump forward n. That gives 0, 1, 3, 6, 2, 7, 13, 20, 12, 21, 11, … Draw each jump as a half circle and the arcs weave a pattern. Does the walk land on every number eventually? Nobody knows.
The walk
Back when it can, forward when it can't. Type a number to see when the walk first lands on it.
The numbers it skips
Each square is a number from 0 to 1,999, filled in when the walk first lands on it and shaded by how many steps that took. The empty ones haven't been reached yet. Point at one to see it, and tap it to look it up.
The walk speeds up tenfold every second. Watch which squares stay empty.
- Up to 10 steps
- Up to 100
- Up to 1,000
- Up to 10,000
- Up to 100,000
- Up to 1,000,000
19 is a famous holdout: it isn't reached until step 99,734.