OFFSET
1,2
COMMENTS
The number preceding and following each first occurrence is the same (with the exception of a(1)=1 which has no predecessor).
LINKS
Neal Gersh Tolunsky, Table of n, a(n) for n = 1..10000
Neal Gersh Tolunsky, Graph of 100000 terms
Neal Gersh Tolunsky, Ordinal transform of 200000 terms
Neal Gersh Tolunsky, Graph of 400000 terms
EXAMPLE
To find a(14)=4, we see that a(13) = 2 has occurred 3 times in the sequence, so the most recently occurring value before (5, 1, 2) which is not equal to 5,1,2 is a(9) = 4, so a(14) = 4.
CROSSREFS
KEYWORD
nonn
AUTHOR
Neal Gersh Tolunsky, Dec 29 2024
STATUS
approved
