|
Search: id:A099354
|
|
|
| A099354 |
|
From P-positions in a certain game. |
|
+0 1
|
|
| 0, 1, 2, 3, 5, 6, 7, 8, 9, 11, 12, 13, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 28, 29, 30
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
LINKS
|
A. S. Fraenkel, New games related to old and new sequences, INTEGERS, Electronic J. of Combinatorial Number Theory, Vol. 4, Paper G6, 2004.
|
|
FORMULA
|
Let a(n) = this sequence, b(n) = A099355. Then a(n) = mex{ a(i), b(i) : 0 <= i < n}; b(n) = b(n-1) - a(n-1) + a(n) + (-1)^b(n-1) - (-1)^a(n-1) + 3. Apart from initial zero, complement of A099353.
|
|
CROSSREFS
|
Adjacent sequences: A099351 A099352 A099353 this_sequence A099355 A099356 A099357
Sequence in context: A047256 A039252 A039194 this_sequence A039115 A068998 A095274
|
|
KEYWORD
|
nonn,easy,more
|
|
AUTHOR
|
njas, Nov 16 2004
|
|
|
Search completed in 0.002 seconds
|