

A111771


Construct a grid containing the numbers from 1 to 110, laid out as shown below. If you start at 1 and go right 1, then down 2, then left 3, then up 4, then right 5, then down 6 and so on, being sure to wrap around if you go off an edge (e.g., going right from 10 will go to 1) you will land on these numbers in order.


0



2, 22, 29, 99, 94, 44, 47, 77, 76, 66, 65, 55, 58, 88, 83, 33, 40, 110, 101, 11, 12, 12, 19, 109, 104, 34, 37, 87, 86, 56, 55, 65, 68, 78, 73, 43, 50, 100, 91, 21, 22, 2, 9, 9, 4, 24, 27, 97, 96, 46, 45, 75, 78, 68, 63, 53, 60, 90, 81, 31, 32, 102, 109, 19, 14, 14, 17, 107, 106
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Interestingly, this pattern visits every number from 1 to 110 twice before repeating the pattern.


LINKS

Table of n, a(n) for n=1..69.


EXAMPLE

The last two numbers before it repeats are 1,1 because 1 is the 219 term and you go right by 220 increments wrapping around when you reach the end and land on 1 again, then go right 221 spaces and land on 2, where the pattern repeats.
1...2..3.....10
11.12.13.....20
...............
............110


CROSSREFS

Sequence in context: A137074 A137106 A053962 * A052001 A275029 A085185
Adjacent sequences: A111768 A111769 A111770 * A111772 A111773 A111774


KEYWORD

easy,fini,nonn


AUTHOR

Ben Paul Thurston, Nov 21 2005


STATUS

approved



