login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Sprague-Grundy values for octal game .144.
0

%I #7 Aug 26 2015 21:04:54

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

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

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

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

%C The sequence is eventually periodic with period 10. The last exception is at n=3.

%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_09">Index entries for linear recurrences with constant coefficients</a>, signature (1, -1, 1, -1, 1, -1, 1, -1, 1).

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

%K nonn

%O 1,5

%A _Richard Sabey_, Jan 24 2007

%E Extended by _Ray Chandler_, Aug 26 2015