login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A308897
Walk a rook along the square spiral numbered 1, 2, 3, ... (cf. A274640); a(n) = mex of earlier values the rook can move to.
1
1, 2, 1, 2, 3, 4, 1, 3, 4, 2, 3, 4, 1, 3, 4, 2, 5, 6, 7, 8, 1, 5, 6, 7, 8, 2, 5, 6, 7, 8, 1, 5, 6, 7, 8, 2, 3, 6, 5, 8, 7, 4, 1, 3, 6, 5, 8, 7, 4, 2, 3, 6, 5, 8, 7, 4, 1, 3, 6, 5, 8, 7, 4, 2, 9, 10, 11, 12, 13, 14, 15, 16, 1, 9, 10, 11, 12, 13, 14, 15, 16, 2
OFFSET
1,2
COMMENTS
Mex here means "smallest positive missing number".
Add 1 to the terms of A308896.
CROSSREFS
Sequence in context: A255560 A328472 A046653 * A353293 A162190 A349325
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 02 2019
EXTENSIONS
More terms from Rémy Sigrist, Jul 02 2019
STATUS
approved