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”).

A018220
Row 1 of A018219, i.e., (1, n, a_n) is a winning position.
1
2, 4, 0, 3, 1, 6, 5, 12, 15, 17, 14, 20, 7, 19, 10, 8, 28, 9, 31, 13, 11, 32, 38, 33, 41, 43, 40, 42, 16, 49, 51, 18, 21, 23, 53, 59, 61, 63, 22, 66, 26, 24, 27, 25, 67, 75, 68, 78, 76, 29, 79, 30, 85, 34, 88, 87, 93, 95, 97, 35, 100, 36, 98, 37, 99, 106, 39, 44, 46, 111, 114
OFFSET
0,1
COMMENTS
Self-inverse when considered as a permutation or function, i.e., a(a(n)) = n.
CROSSREFS
Sequence in context: A325490 A123514 A064178 * A004580 A215451 A375746
KEYWORD
nonn
EXTENSIONS
Edited and extended by Christian G. Bower, Oct 29 2002
STATUS
approved