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.

A194063 Natural fractal sequence of A006578.

This page as a plain text file.
%I A194063 #8 Apr 21 2013 07:39:39
%S A194063 1,2,3,1,2,3,4,1,2,3,4,5,6,1,2,3,4,5,6,7,1,2,3,4,5,6,7,8,9,1,2,3,4,5,
%T A194063 6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12,13,
%U A194063 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1,2,3,4,5,6,7,8,9,10,11,12
%N A194063 Natural fractal sequence of A006578.
%C A194063 See A194029 for definitions of natural fractal sequence and natural interspersion.
%t A194063 z = 50;
%t A194063 c[k_] := k (k + 1)/2 + Floor[(k^2)/4];
%t A194063 c = Table[c[k], {k, 1, z}]  (* A006578 *)
%t A194063 f[n_] := If[MemberQ[c, n], 1, 1 + f[n - 1]]
%t A194063 f = Table[f[n], {n, 1, 400}]   (* A194063 *)
%t A194063 r[n_] := Flatten[Position[f, n]]
%t A194063 t[n_, k_] := r[n][[k]]
%t A194063 TableForm[Table[t[n, k], {n, 1, 7}, {k, 1, 7}]]
%t A194063 p = Flatten[Table[t[k, n - k + 1], {n, 1, 11}, {k, 1, n}]] (* A194064 *)
%t A194063 q[n_] := Position[p, n]; Flatten[Table[q[n], {n, 1, 90}]]  (* A194065 *)
%Y A194063 Cf. A194029, A006578, A194064, A194065.
%K A194063 nonn
%O A194063 1,2
%A A194063 _Clark Kimberling_, Aug 14 2011