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.

A194050 Natural fractal sequence of A014739.

This page as a plain text file.
%I A194050 #5 Mar 30 2012 18:57:39
%S A194050 1,1,2,3,1,2,3,4,1,2,3,4,5,6,7,1,2,3,4,5,6,7,8,9,10,11,1,2,3,4,5,6,7,
%T A194050 8,9,10,11,12,13,14,15,16,17,18,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
%U A194050 16,17,18,19,20,21,22,23,24,25,26,27,28,29,1,2,3,4,5,6,7,8,9,10
%N A194050 Natural fractal sequence of A014739.
%C A194050 See A194029 for definitions of natural fractal sequence and natural interspersion.
%t A194050 z = 50;
%t A194050 c[k_] := LucasL[k + 1] - 2;
%t A194050 c = Table[c[k], {k, 1, z}]  (* A014739 *)
%t A194050 f[n_] := If[MemberQ[c, n], 1, 1 + f[n - 1]]
%t A194050 f = Table[f[n], {n, 1, 600}]  (* A194050 *)
%t A194050 r[n_] := Flatten[Position[f, n]]
%t A194050 t[n_, k_] := r[n][[k]]
%t A194050 TableForm[Table[t[n, k], {n, 1, 8}, {k, 1, 7}]]
%t A194050 p = Flatten[Table[t[k, n - k + 1], {n, 1, 12}, {k, 1, n}]] (* A194051 *)
%t A194050 q[n_] := Position[p, n]; Flatten[Table[q[n], {n, 1, 90}]] (* A194052 *)
%Y A194050 Cf. A194029, A194051, A194052.
%K A194050 nonn
%O A194050 1,3
%A A194050 _Clark Kimberling_, Aug 13 2011