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”).
%I #13 Jan 19 2017 09:49:46
%S 1,1,1,2,2,2,3,3,3,1,1,1,4,4,4,3,3,3,2,2,2,1,1,1,4,4,4,2,2,2,6,6,6,4,
%T 4,4,1,1,1,2,2,2,7,7,7,1,1,1,4,4,4,3,3,3,2,2,2,1,1,1,4,4,4,6,6,6,7,7,
%U 7,4,4,4,1,1,1,2,2,2,8,8,8,5,5,5,4,4,4,7,7,7,2,2,2,1,1,1,8,8,8,6,6,6,7,7,7
%N Sprague-Grundy values for octal game .113377.
%C Octal game .01377 has values a(n-1). Octal game .0077 has values a(n-2). Octal game .044 and .046 have values a(n-3).
%C Sequence is eventually periodic with period 36. The last exception is at n=210.
%D E. R. Berlekamp, J. H. Conway and R. K. Guy, Winning Ways, Academic Press, NY, 2 vols., 1982; see Chapter 4, p. 104.
%H Eric M. Schmidt, <a href="/A071451/b071451.txt">Table of n, a(n) for n = 1..300</a>
%H Achim Flammenkamp, <a href="http://www.uni-bielefeld.de/~achim/octal_sparse.html">Octal games</a>
%H <a href="/index/Rec#order_36">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
%F a(3n-2)=a(3n-1)=a(3n)=A002186(n).
%K nonn
%O 1,4
%A _N. J. A. Sloane_ and _Sue Pope_, May 29 2002
%E Edited and extended by _Christian G. Bower_, Nov 11 2002