OFFSET
1,3
COMMENTS
The sequence is 1244 initial terms followed by a repeating block of 4925 terms so that a(n) = a(n-4925) for n >= 6170. - Kevin Ryde, Jul 31 2023
LINKS
Kevin Ryde, Table of n, a(n) for n = 1..10000
Kevin Ryde, PARI/GP code showing periodic
Neal Gersh Tolunsky, Scatterplot of the ordinal transform of the first 6169 terms
EXAMPLE
a(13)=3 because beginning at the most recent location i=n-1=12, where a(12)=6, we can visit (the fewest possible) 3 locations in a single path as follows:
1 2 3 4 5 6 7 8 9 10 11 12 location number i
1,1,2,3,4,4,3,6,3, 4, 4, 6 a(i)
<--------------6
4-------->
At i=10, the only jump is back to 10-a(10) = 6, which was already visited, so the path stops.
PROG
(PARI) See links.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Neal Gersh Tolunsky, Jul 21 2023
EXTENSIONS
More terms from Bert Dobbelaere, Jul 23 2023
STATUS
approved