login
Sprague-Grundy values for octal game .153.
0

%I #5 Aug 27 2015 09:15:08

%S 1,1,1,2,2,2,1,1,0,2,2,2,4,4,0,1,1,2,2,2,1,1,1,2,2,2,4,4,1,1,1,2,2,2,

%T 1,1,1,2,2,2,4,4,1,1,1,2,2,2,1,1,1,2,2,2,4,4,1,1,1,2,2,2,1,1,1,2,2,2,

%U 4,4,1,1,1,2,2,2,1,1,1,2,2,2,4,4,1,1,1,2,2,2,1,1,1,2,2,2,4,4,1

%N Sprague-Grundy values for octal game .153.

%C The sequence is eventually periodic with period 14. The last exception is at n=15.

%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 <a href="/index/Rec#order_14">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).

%t Join[{1, 1, 1, 2, 2, 2, 1, 1, 0, 2, 2, 2, 4, 4, 0},LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},{1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 4, 4, 1},84]] (* _Ray Chandler_, Aug 27 2015 *)

%K nonn

%O 1,4

%A _Richard Sabey_, Jan 24 2007

%E Extended by _Ray Chandler_, Aug 27 2015