This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A242082 #23 Dec 27 2016 03:16:40 %S A242082 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, %T A242082 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, %U A242082 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 %N A242082 Nim sequence of game on n counters whose legal moves are removing some number of counters in A027941. %C A242082 Aperiodic, ternary sequence. %C A242082 Result of applying the map 0->01, 1->2 to A188432. %C A242082 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. %C A242082 Also the Nim sequence of game on n counters whose legal moves are removing either 1 counter or some number of counters in A089910. %C A242082 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 %H A242082 N. Fox, <a href="http://vimeo.com/93540244">Aperiodic Subtraction Games</a>, Talk given at the Rutgers Experimental Mathematics Seminar, May 01 2014. %H A242082 U. Larsson, N. Fox, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL18/Larsson/larsson8.html">An Aperiodic Subtraction Game of Nim-Dimension Two</a>, Journal of Integer Sequences, 2015, Vol. 18, #15.7.4. %F A242082 a(n)=0 if and only if n=0 or n is in A001950. %F A242082 a(n)=1 if and only if a(n-1)=0, which happens if and only if n is in A026352. %F A242082 a(n)=2 if and only if n is in A089910. %Y A242082 Cf. A027941, A001950, A000201, A026352, A089910. %K A242082 nonn %O A242082 0,5 %A A242082 _Nathan Fox_, May 03 2014