login
A287996
Position of second occurrence of first n terms in A287108.
0
5, 5, 11, 11, 11, 24, 24, 24, 24, 24, 24, 24, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124
OFFSET
1,1
COMMENTS
Lengths of runs of the same values: 2, 3, 7, 16, 37, 86, 200, 465.
MATHEMATICA
Function[s, Table[SequencePosition[s, Take[s, n]][[2, 1]], {n, 60}]]@
Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {2, 1}, 2 -> 0}] &, {0}, 10] (* Michael De Vlieger, Jun 06 2017, after Clark Kimberling at A287108 *)
CROSSREFS
Cf. A287108.
Sequence in context: A184827 A058610 A143427 * A239355 A218121 A168300
KEYWORD
nonn
AUTHOR
Zak Seidov, Jun 04 2017
STATUS
approved