%I #12 Jan 11 2017 19:51:55
%S 1,1,2,2,3,1,1,4,4,3,2,2,1,1,4,2,2,6,4,4,1,1,2,2,7,1,1,4,4,3,2,2,1,1,
%T 4,8,2,7,4,4,1,1,2,2,7,8,1,4,4,7,2,2,1,1,4,4,2,7,7,4,1,1,2,2,7,7,1,1,
%U 4,7,2,2,1,1,4,4,6,2,7,4,1,1,2,2,8,8,5,1,4,7,2,2,1,1,8,8,6,7,7,4,1,1
%N Sprague-Grundy values for octal game .177.
%C Octal games .450-.453 and .470-.473 have values a(n-1).
%C Sequence is eventually periodic with period 20. The last exception is at n=496.
%D E. R. Berlekamp, J. H. Conway and R. K. Guy, Winning Ways, Academic Press, NY, 2 vols., 1982; see Chapter 4, p. 102.
%H Eric M. Schmidt, <a href="/A071435/b071435.txt">Table of n, a(n) for n = 1..1000</a>
%H Achim Flammenkamp, <a href="http://www.uni-bielefeld.de/~achim/octal_sparse.html">Octal games</a>
%H <a href="/index/Rec#order_20">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, 1).
%K nonn
%O 1,3
%A _N. J. A. Sloane_ and _Sue Pope_, May 29 2002
%E Edited and extended by _Christian G. Bower_, Oct 22 2002