OFFSET
0,5
LINKS
Eric Sopena, i-Mark: A new subtraction division game, arXiv:1509.04199 [cs.DM], 2015.
FORMULA
For n >= 17:
a(n) = 0 if n mod 12 in {1,3,4,10}
a(n) = 1 if n mod 12 in {5,6,7,8}
a(n) = 2 if n mod 12 in {2,9,11}
a(n) = 2 if n mod 12 = 0 and the largest power of 2 dividing n/12 is an even power
a(n) = 3 if n mod 12 = 0 and the largest power of 2 dividing n/12 is an odd power
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 29 2015
EXTENSIONS
More terms and formula from Nathan Fox, Dec 22 2015
STATUS
approved