A194033
Inverse permutation of A194032; contains every positive integer exactly once.
Original entry on oeis.org
1, 3, 6, 2, 5, 9, 10, 15, 4, 8, 13, 14, 20, 21, 28, 7, 12, 18, 19, 26, 27, 35, 36, 45, 11, 17, 24, 25, 33, 34, 43, 44, 54, 55, 66, 16, 23, 31, 32, 41, 42, 52, 53, 64, 65, 77, 78, 91, 22, 30, 39, 40, 50, 51, 62, 63, 75, 76, 89, 90, 104, 105, 120, 29
Offset: 1
-
(See A194032.)
-
A194033(n)={my(x=sqrtint(n), y=n-x^2, z=min(y,floor(y/2+1))) ;binomial(x+z,2)+y+1} \\ Zhuorui He, Jul 19 2025
a(63) corrected and a(64) added by
Zhuorui He, Jul 07 2025
A194029
Natural fractal sequence of the Fibonacci sequence (1, 2, 3, 5, 8, ...).
Original entry on oeis.org
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
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)
- Clark Kimberling, "Fractal sequences and interspersions," Ars Combinatoria 45 (1997) 157-168.
-
T:= n-> $1..(<<0|1>, <1|1>>^n)[1, 2]:
seq(T(n), n=1..10); # Alois P. Heinz, Dec 11 2024
-
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 *)
Showing 1-2 of 2 results.
Comments