1,1
C. Deugau and F. Ruskey, Complete k-ary Trees and Generalized Meta-Fibonacci Sequences
d(n) = 0 if node n is an inner node, or 1 if node n is a leaf.
g.f.: z (1 + z^1 ( (1 - z^(2 * [1])) / (1 - z^[1]) + z^3 * (1 - z^(3 * [i]))/(1 - z^[1]) ( (1 - z^(2 * [2])) / (1 - z^[2]) + z^9 * (1 - z^(3 * [2]))/(1 - z^[2]) (..., where [i] = (3^i - 1) / 2.
g.f.: D(z) = z * prod((1 - z^(3 * [i])) / (1 - z^[i])), i=1..infinity), where [i] = (3^i - 1) / 2.
d := n -> if n=1 then 1 else A120503(n)-A120503(n-1) fi;
Cf. A120503, A120514.
Sequence in context: A133639 A060038 A132350 this_sequence A112299 A071033 A014677
Adjacent sequences: A120522 A120523 A120524 this_sequence A120526 A120527 A120528
nonn
Frank Ruskey (http://www.cs.uvic.ca/~ruskey/) and Chris Deugau (deugaucj(AT)uvic.ca), Jun 20 2006
Search completed in 0.002 seconds