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.

A055315 Number of labeled trees with n nodes and 3 leaves.

Original entry on oeis.org

4, 60, 720, 8400, 100800, 1270080, 16934400, 239500800, 3592512000, 57081024000, 958961203200, 16999766784000, 317328979968000, 6224529991680000, 128047474114560000, 2757288942600192000, 62039001208504320000, 1456091851893719040000, 35593356379624243200000
Offset: 4

Views

Author

Christian G. Bower, May 11 2000

Keywords

Crossrefs

Column 3 of A055314.

Programs

  • Magma
    [Factorial(n)*(n-3)*(n-2)/12: n in [4..25]]; // Vincenzo Librandi, Jul 25 2014
    
  • Maple
    a:=n->sum((n-j)*n!/3!, j=3..n): seq(a(n), n=4..19); # Zerinvary Lajos, Apr 29 2007
  • Mathematica
    Table[n!*(n-3)*(n-2)/12,{n,4,20}] (* Vaclav Kotesovec, Jul 25 2014 *)
  • PARI
    for(n=4,30, print1(n!*(n-3)*(n-2)/12, ", ")) \\ G. C. Greubel, Feb 07 2018

Formula

a(n) = (n!/3!)*stirling2(n-2, n-3). - Vladeta Jovovic, Jan 28 2004
a(n) = n! * (n-3)*(n-2)/12. - Vaclav Kotesovec, Jul 25 2014
E.g.f.: x*(x/(1-x))^3/3! - Geoffrey Critzer, Sep 19 2017