1,2

Table of n, a(n) for n=1..50.

C. Deugau and F. Ruskey, Complete k-ary Trees and Generalized Meta-Fibonacci Sequences, J. Integer Seq., Vol. 12. [This is a later version than that in the GenMetaFib.html link]

C. Deugau and F. Ruskey, Complete k-ary Trees and Generalized Meta-Fibonacci Sequences

g.f.: P(z) = z / (1-z) * (1 + sum(z^(m^4) * (1 + 1 / (1 - z^(m^4))), m=0..infinity))

p := proc(n)

if n=1 then return 1; end if;

for j from p(n-1)+1 to infinity do

if A120508(j) = n then return j; fi; od;

end proc;

Cf. A120508, A120530.

Sequence in context: A286053 A112594 A188003 * A100614 A274231 A173999

Adjacent sequences: A120516 A120517 A120518 * A120520 A120521 A120522

nonn

Frank Ruskey and Chris Deugau (deugaucj(AT)uvic.ca), Jun 20 2006

approved