login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A125918 Sprague-Grundy values for octal game .154. 0
1, 1, 0, 1, 1, 2, 2, 2, 2, 2, 4, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 4, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 4, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 4, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 4, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 4, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 4, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 4, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 4, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,6

COMMENTS

The sequence is eventually periodic with period 11. The last exception is at n=3.

REFERENCES

E. R. Berlekamp, J. H. Conway and R. K. Guy, Winning Ways, Academic Press, NY, 2 vols., 1982; see Chapter 4, p. 104.

LINKS

Table of n, a(n) for n=1..102.

Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).

FORMULA

a(n)=(1/605)*{184*(n mod 11)-91*[(n+1) mod 11]+19*[(n+2) mod 11]+19*[(n+3) mod 11]+19*[(n+4) mod 11]+19*[(n+5) mod 11]-36*[(n+6) mod 11]+19*[(n+7) mod 11]+19*[(n+8) mod 11]+19*[(n+9) mod 11]+19*[(n+10) mod 11]}-[C(n^2,n+2) mod 2], with n>=0 [From Paolo P. Lava, Oct 22 2008]

MATHEMATICA

Join[{1, 1, 0}, LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 1, 2, 2, 2, 2, 2, 4, 1, 1, 1}, 99]] (* Ray Chandler, Aug 26 2015 *)

CROSSREFS

Sequence in context: A322073 A332201 A060467 * A239202 A083533 A076500

Adjacent sequences:  A125915 A125916 A125917 * A125919 A125920 A125921

KEYWORD

nonn

AUTHOR

Richard Sabey, Jan 24 2007

EXTENSIONS

Extended by Ray Chandler, Aug 26 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 1 07:40 EDT 2020. Contains 334759 sequences. (Running on oeis4.)