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.

A036506 Number of labeled 4-trees with n nodes.

Original entry on oeis.org

0, 0, 0, 1, 1, 15, 455, 20230, 1166886, 82031250, 6768679170, 639276644655, 67876292150095, 7992910154350121, 1032869077119140625, 145221924661653841820, 22060305511905816000860, 3599313659344525384083060, 627583654087024080928783956
Offset: 1

Views

Author

Keywords

References

  • F. Harary and E. Palmer, Graphical Enumeration, (1973), p. 30, Problem 1.13(b) with k=4.

Crossrefs

Column 5 of A135021.
Cf. A000272 (labeled trees), A036361 (labeled 2-trees), A036362 (labeled 3-trees), A078793 (unlabeled 4-trees), A000055 (unlabeled trees), A054581 (unlabeled 2-trees).

Programs

  • Python
    def A036506(n): return int(n*(n - 3)*(n - 2)*(n - 1)*(4*n - 15)**(n - 6)//24) # Chai Wah Wu, Feb 03 2022

Formula

a(n) = C(n,4)*(4*n-15)^(n-6).
Number of labeled k-trees on n nodes is binomial(n, k) * (k(n-k)+1)^(n-k-2).