OFFSET
0,5
LINKS
Eric Sopena, i-Mark: A new subtraction division game, arXiv:1509.04199 [cs.DM], 2015.
FORMULA
a(n)=0 iff n=0, n=2, or n>=5 is odd.
a(n)=1 iff n=3*2^k for even k>0 or n=(2*j+1)*2^k for integers j>1 and odd k.
a(n)=2 otherwise.
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 29 2015
EXTENSIONS
More terms and formula from Nathan Fox, Dec 22 2015
STATUS
approved