login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A263835
Sprague-Grundy sequence G(i-Mark({4,8}, {2})).
0
0, 0, 1, 0, 2, 1, 2, 1, 1, 2, 0, 2, 0, 0, 3, 0, 2, 1, 1, 1, 1, 2, 0, 2, 3, 0, 2, 0, 0, 1, 1, 1, 1, 2, 0, 2, 2, 0, 2, 0, 0, 1, 1, 1, 1, 2, 0, 2, 2, 0, 2, 0, 0, 1, 1, 1, 1, 2, 0, 2, 2, 0, 2, 0, 0, 1, 1, 1, 1, 2, 0
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
Sequence in context: A061916 A351819 A076348 * A113310 A359537 A081653
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 29 2015
EXTENSIONS
More terms and formula from Nathan Fox, Dec 22 2015
STATUS
approved