|
| |
|
|
A099355
|
|
From P-positions in a certain game.
|
|
3
| |
|
|
0, 4, 10, 14, 21, 25, 27, 31, 33, 38, 44, 48, 55, 59, 61, 65, 67, 71, 74, 78, 84, 89, 92, 96, 102, 107, 110, 114, 120, 124, 131, 135, 137, 141, 143, 148, 154, 158, 165, 169, 171, 175, 177, 181, 184, 188, 194, 199, 202, 206, 212, 217, 220, 224, 230, 235, 237
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
LINKS
| Nathaniel Johnston, Table of n, a(n) for n = 0..10000
A. S. Fraenkel, New games related to old and new sequences, INTEGERS, Electronic J. of Combinatorial Number Theory, Vol. 4, Paper G6, 2004.
|
|
|
FORMULA
| See A099354.
|
|
|
MAPLE
| a:=proc(n) option remember: local j, t: if(n=0)then return 0: else t:=a(n-1)+1: for j from 0 to n-1 do if(t=b(j))then return t+1: elif(t<b(j))then break: fi: od: return t: fi: end:
b:=proc(n) option remember: if(n=0)then return 0: else return b(n-1) - a(n-1) + a(n) + (-1)^b(n-1) - (-1)^a(n-1) + 3: fi: end:
seq(b(n), n=0..70); # Nathaniel Johnston, Apr 28 2011
|
|
|
CROSSREFS
| Sequence in context: A190346 A001581 A114335 * A161366 A176551 A175731
Adjacent sequences: A099352 A099353 A099354 * A099356 A099357 A099358
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), Nov 16 2004
|
| |
|
|