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.
%I A055290 #29 Jan 02 2023 15:24:12 %S A055290 1,1,0,1,1,0,1,1,1,0,1,2,2,1,0,1,3,4,2,1,0,1,4,8,6,3,1,0,1,5,14,14,9, %T A055290 3,1,0,1,7,23,32,26,12,4,1,0,1,8,36,64,66,39,16,4,1,0,1,10,54,123,158, %U A055290 119,60,20,5,1,0,1,12,78,219,350,325,202,83,25,5,1,0 %N A055290 Triangle of trees with n nodes and k leaves, 2 <= k <= n. %D A055290 F. Harary and E. M. Palmer, Graphical Enumeration, Academic Press, NY, 1973, p. 80, Problem 3.9. %H A055290 Andrew Howroyd, <a href="/A055290/b055290.txt">Table of n, a(n) for n = 2..1226</a> (rows 2..50) %H A055290 <a href="/index/Tra#trees">Index entries for sequences related to trees</a> %F A055290 G.f.: A(x, y)=(1-x+x*y)*B(x, y)+(1/2)*(B(x^2, y^2)-B(x, y)^2), where B(x, y) is g.f. of A055277. %e A055290 Triangle begins: %e A055290 n=2: 1 %e A055290 n=3: 1 0 %e A055290 n=4: 1 1 0 %e A055290 n=5: 1 1 1 0 %e A055290 n=6: 1 2 2 1 0 %e A055290 n=7: 1 3 4 2 1 0 %e A055290 n=8: 1 4 8 6 3 1 0 %e A055290 n=9: 1 5 14 14 9 3 1 0 %e A055290 n=10: 1 7 23 32 26 12 4 1 0 %e A055290 n=11: 1 8 36 64 66 39 16 4 1 0 %e A055290 n=12: 1 10 54 123 158 119 60 20 5 1 0 %e A055290 n=13: 1 12 78 219 350 325 202 83 25 5 1 0 %o A055290 (PARI) %o A055290 EulerMT(u)={my(n=#u, p=x*Ser(u), vars=variables(p)); Vec(exp( sum(i=1, n, substvec(p + O(x*x^(n\i)), vars, apply(v->v^i,vars))/i ))-1)} %o A055290 T(n)={my(u=[y]); for(n=2, n, u=concat([y], EulerMT(u))); my(r=x*Ser(u), v=Vec(r*(1-x+x*y) + (substvec(r,[x,y],[x^2,y^2]) - r^2)/2)); vector(n-1, k, Vecrev(v[1+k]/y^2, k))} %o A055290 { my(A=T(10)); for(n=1, #A, print(A[n])) } %Y A055290 Row sums give A000055, row sums with weight k give A003228. %Y A055290 Columns 3 through 12: A001399(n-4), A055291, A055292, A055293, A055294, A055295, A055296, A055297, A055298, A055299. %Y A055290 Cf. A055300, A055301, A238416, A304222. %Y A055290 The labeled version is A055314. %Y A055290 Central column is A358107. %Y A055290 Left of central column is A359398. %Y A055290 Cf. A000088, A000272, A001349, A001433, A002494, A185650. %K A055290 nonn,tabl %O A055290 2,12 %A A055290 _Christian G. Bower_, May 09 2000