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

%I #5 Aug 27 2015 09:12:43

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

%T 1,2,2,2,1,2,2,2,1,1,1,0,1,1,1,2,2,2,1,2,2,2,1,1,1,0,1,1,1,2,2,2,1,2,

%U 2,2,1,1,1,0,1,1,1,2,2,2,1,2,2,2,1,1,1,0,1,1,1,2,2,2,1,2,2,2

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

%C The sequence is eventually periodic with period 14. The only exception is at n=0 (not shown).

%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 LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},{1, 1, 1, 0, 1, 1, 1, 2, 2, 2, 1, 2, 2, 2},98] (* _Ray Chandler_, Aug 27 2015 *)

%K nonn

%O 1,8

%A _Richard Sabey_, Feb 03 2007

%E Extended by _Ray Chandler_, Aug 27 2015