A194029 Natural fractal sequence of the Fibonacci sequence (1, 2, 3, 5, 8, ...).
1, 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34
Offset: 1
Examples
The sequence (1, 2, 3, 5, 8, 13, ...) is used to place '1's in positions numbered 1, 2, 3, 5, 8, 13, ... Then gaps are filled in with consecutive counting numbers: 1, 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 5, 1, ... From _Omar E. Pol_, May 28 2012: (Start) Written as an irregular triangle the sequence begins: 1; 1; 1, 2; 1, 2, 3; 1, 2, 3, 4, 5; 1, 2, 3, 4, 5, 6, 7, 8; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21; ... The row lengths are A000045(n). (End)
References
- Clark Kimberling, "Fractal sequences and interspersions," Ars Combinatoria 45 (1997) 157-168.
Links
- Alois P. Heinz, Rows n = 1..20, flattened
- Clark Kimberling, Numeration systems and fractal sequences, Acta Arithmetica 73 (1995) 103-117.
Crossrefs
Programs
-
Maple
T:= n-> $1..(<<0|1>, <1|1>>^n)[1, 2]: seq(T(n), n=1..10); # Alois P. Heinz, Dec 11 2024
-
Mathematica
z = 40; c[k_] := Fibonacci[k + 1]; c = Table[c[k], {k, 1, z}] (* A000045 *) f[n_] := If[MemberQ[c, n], 1, 1 + f[n - 1]] f = Table[f[n], {n, 1, 800}] (* A194029 *) r[n_] := Flatten[Position[f, n]] t[n_, k_] := r[n][[k]] TableForm[Table[t[n, k], {n, 1, 8}, {k, 1, 7}]] p = Flatten[Table[t[k, n - k + 1], {n, 1, 13}, {k, 1, n}]] (* A194030 *) q[n_] := Position[p, n]; Flatten[Table[q[n], {n, 1, 80}]] (* A194031 *) Flatten[Range[Fibonacci[Range[66]]]] (* Birkas Gyorgy, Jun 30 2012 *)
Formula
a(n) = A066628(n)+1. - Alan Michael Gómez Calderón, Oct 30 2023
Extensions
Edited by M. F. Hasler, Apr 23 2022
Comments