OFFSET
1,5
COMMENTS
This is a variant of Van Eck's sequence A181391 in which we ask: how many runs (of consecutive equal terms) ago did we last see a(n)?
The longest run in the sequence has length 2.
LINKS
Neal Gersh Tolunsky, Table of n, a(n) for n = 1..10000
CROSSREFS
KEYWORD
nonn
AUTHOR
Neal Gersh Tolunsky, Jan 12 2025
STATUS
approved