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.

A330966 a(n) is 1/5 times the number of anti-chains of size four in "0,1,2" Motzkin trees on n edges.

Original entry on oeis.org

1, 11, 84, 520, 2835, 14133, 65960, 292536, 1245789, 5132375, 20569512, 80541300, 309143065, 1166302239, 4334300976, 15895046840, 57608669274, 206606077758, 733992204988, 2585415612500, 9036556157100, 31362262768684, 108144498780096, 370700681812032
Offset: 6

Views

Author

Petros Hadjicostas, Jun 08 2020

Keywords

Comments

See A335355 for details.

Crossrefs

Programs

  • PARI
    default(seriesprecision, 50);
    M(z) = (1 - z - sqrt(1 - 2*z - 3*z^2))/(2*z^2); /* g.f. of A001006 */
    T(z) = 1/sqrt(1 - 2*z - 3*z^2); /* g.f. of A002426 */
    for(n=0, 30, print1(polcoef(z^6*T(z)^7*M(z)^4, n, z), ", "))

Formula

a(n) = A335355(n)/5.
D-finite with recurrence -(n+2)*(n-6)*a(n) +(n+2)*(4*n-17)*a(n-1) +(2*n^2-n-90)*a(n-2) -3*(n+2)*(4*n-3)*a(n-3) -9*(n+2)*(n+1)*a(n-4)=0. - R. J. Mathar, Aug 19 2022