cp's OEIS Frontend

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.

A287996 Position of second occurrence of first n terms in A287108.

This page as a plain text file.
%I A287996 #8 Jun 06 2017 10:37:52
%S A287996 5,5,11,11,11,24,24,24,24,24,24,24,54,54,54,54,54,54,54,54,54,54,54,
%T A287996 54,54,54,54,54,124,124,124,124,124,124,124,124,124,124,124,124,124,
%U A287996 124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124
%N A287996 Position of second occurrence of first n terms in A287108.
%C A287996 Lengths of runs of the same values: 2, 3, 7, 16, 37, 86, 200, 465.
%t A287996 Function[s, Table[SequencePosition[s, Take[s, n]][[2, 1]], {n, 60}]]@
%t A287996 Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {2, 1}, 2 -> 0}] &, {0}, 10] (* _Michael De Vlieger_, Jun 06 2017, after _Clark Kimberling_ at A287108 *)
%Y A287996 Cf. A287108.
%K A287996 nonn
%O A287996 1,1
%A A287996 _Zak Seidov_, Jun 04 2017