Id: formal-conjectures/OEIS__181391 Url: https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/181391.lean Repo: https://github.com/google-deepmind/formal-conjectures Score: 0 Title: OEIS A181391 Domain: math.NT Source: formal-conjectures Problem: number=A181391 status=open collection=oeis Reviews: 0 Subject: math.NT Category: research Comments: 0 Disputed: false Division: math Mentions: 0 Discussed: 0 Formalized: true Page: https://delphi.science/r/formal-conjectures/OEIS__181391 Van Eck's sequence starts with zero. If the current value has occurred before, the next value is the distance to its most recent earlier occurrence; otherwise the next value is zero. The state used to generate Van Eck's sequence at a given index. The map lastSeen records the most recent occurrence strictly before the current index. Advance the sequence from index n, recording the old current value only after computing the next value. The state of Van Eck's sequence at index n. Van Eck's sequence, indexed from zero. OEIS A181391 conjectures: "every number eventually appears."