A280511 Index sequence of the block-fractal sequence A001468.
2, 2, 5, 5, 5, 5, 5, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89
Offset: 1
Examples
A001468 = (1,2,1,2,2,1,2,1,2,2,1,2,2,...) = (s(0), s(1), ... ). (initial block #1) = (1) first repeats at s(2), so that a(1) = 2; (initial block #2) = (1,2) first repeats at s(2), so that a(2) = 2; (initial block #3) = (1,2,1) first repeats at s(5), so that a(3) = 5.
Links
- Clark Kimberling, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
r = GoldenRatio; seq = Table[Floor[(n + 1) r] - Floor[n r], {n, 0, 300}] (*A001468*) seq = StringJoin[Map[ToString, seq]] u = -1 + Most[Flatten[Rest[Reap[NestWhile[# + 1 &, 1, Sow[First[Last[StringPosition[seq, StringTake[seq, #], 2]]]] > 1 &]]]]] (* A280511, Peter J. C. Moses, Jan 05 2017 *)
Formula
Concatenate F(2n+1) copies of F(2n+1), for n >= 1, where F = A000045, the Fibonacci numbers.
Comments