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.

A350487 Triangle read by rows: T(n,k) is the number of acyclic digraphs on n labeled nodes with k arcs and a global source, n >= 1, k = 0..n*(n-1)/2.

Original entry on oeis.org

1, 0, 2, 0, 0, 9, 6, 0, 0, 0, 64, 132, 96, 24, 0, 0, 0, 0, 625, 2640, 4850, 4900, 2850, 900, 120, 0, 0, 0, 0, 0, 7776, 55800, 186480, 379170, 516660, 491040, 328680, 152640, 46980, 8640, 720, 0, 0, 0, 0, 0, 0, 117649, 1286670, 6756120, 22466010
Offset: 1

Views

Author

Andrew Howroyd, Jan 01 2022

Keywords

Examples

			Triangle begins:
  [1] 1;
  [2] 0, 2;
  [3] 0, 0, 9,  6;
  [4] 0, 0, 0, 64, 132,   96,   24;
  [5] 0, 0, 0,  0, 625, 2640, 4850, 4900, 2850, 900, 120;
  ...
		

Crossrefs

Row sums are A003025.
Leading diagonal is A000169.
The unlabeled version is A350488.
Cf. A081064.

Programs

  • PARI
    T(n)={my(a=vector(n)); a[1]=1; for(n=2, #a, a[n]=sum(k=1, n-1, (-1)^(k-1)*binomial(n,k)*((1+'y)^(n-k)-1)^k*a[n-k])); [Vecrev(p) | p <- a]}
    { my(A=T(6)); for(n=1, #A, print(A[n])) }