A246391 On a square lattice, repeatedly write down the smallest positive number that has not yet been used, starting with the least significant digit. Write one digit per point, skipping lattice points already labeled. Move one point further regardless of content, and rotate the movement direction 90 degrees clockwise. Read the smallest number created, ignoring leading zeros and starting with the least significant digit: a(n) gives the n-th number.
1, 2, 3, 4, 21, 5, 6, 23, 7, 8, 25, 11, 9, 70, 12, 10, 90, 270, 43, 100, 1090, 13, 50, 72, 310, 14, 500, 1072, 15, 16, 9013, 20, 17, 7015, 1012, 18, 19, 10010, 22, 24, 26, 210, 27, 40, 32, 721, 28, 400, 132, 29, 71, 322, 402, 33, 220, 232
Offset: 1
Examples
See Links section.
Links
Crossrefs
Cf. A224876.
Programs
-
Perl
See Links section.
Comments