The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A242082 Nim sequence of game on n counters whose legal moves are removing some number of counters in A027941. 0
0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
Aperiodic, ternary sequence.
Result of applying the map 0->01, 1->2 to A188432.
Let w(1)=01. For all i>1, let w(i)=w(i-1)w(i-1)w(i-2)...w(2)w(1)2 (as a concatenation of words). The limit of this process is this sequence.
Also the Nim sequence of game on n counters whose legal moves are removing either 1 counter or some number of counters in A089910.
a(n+2) = A159917(n), the infinite Fibonacci sequence on {0,1,2}. See also the standard form A270788 of A159917, explaining the formula below. - Michel Dekking, Dec 27 2016
LINKS
N. Fox, Aperiodic Subtraction Games, Talk given at the Rutgers Experimental Mathematics Seminar, May 01 2014.
U. Larsson, N. Fox, An Aperiodic Subtraction Game of Nim-Dimension Two, Journal of Integer Sequences, 2015, Vol. 18, #15.7.4.
FORMULA
a(n)=0 if and only if n=0 or n is in A001950.
a(n)=1 if and only if a(n-1)=0, which happens if and only if n is in A026352.
a(n)=2 if and only if n is in A089910.
CROSSREFS
Sequence in context: A122924 A133450 A029410 * A159917 A242081 A190487
KEYWORD
nonn
AUTHOR
Nathan Fox, May 03 2014
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 28 22:13 EDT 2024. Contains 372921 sequences. (Running on oeis4.)