A099357 From P-positions in a certain game.
0, 2, 5, 7, 18, 33, 51, 53, 75, 77, 103, 105, 135, 137, 171, 174, 176, 218, 220, 266, 268, 318, 320, 374, 376, 434, 436, 498, 500, 567, 637, 639, 713, 715, 793, 795, 877, 879, 965, 967, 1057, 1059, 1153, 1155, 1253, 1255, 1358, 1465, 1575, 1577
Offset: 0
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.
Programs
-
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(tNathaniel Johnston, Apr 28 2011
Formula
See A099356.
Extensions
Edited and corrected by Nathaniel Johnston, Apr 28 2011
Comments