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.

A084546 Triangle read by rows: T(n,k) = C( C(n,2), k) for n >= 0, 0 <= k <= C(n,2).

Original entry on oeis.org

1, 1, 1, 1, 1, 3, 3, 1, 1, 6, 15, 20, 15, 6, 1, 1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1, 1, 15, 105, 455, 1365, 3003, 5005, 6435, 6435, 5005, 3003, 1365, 455, 105, 15, 1, 1, 21, 210, 1330, 5985, 20349, 54264, 116280, 203490, 293930, 352716, 352716, 293930, 203490, 116280, 54264, 20349, 5985, 1330, 210, 21, 1
Offset: 0

Views

Author

N. J. A. Sloane, Jul 13 2003

Keywords

Comments

T(n,k) gives number of labeled simple graphs with n nodes and k edges.

Examples

			Triangle begins:
  1;
  1;
  1, 1;
  1, 3,  3,  1;
  1, 6, 15, 20, 15, 6, 1;
  ...
		

References

  • J. L. Gross and J. Yellen, eds., Handbook of Graph Theory, CRC Press, 2004; p. 517.

Crossrefs

Cf. A083029. A subset of the rows of Pascal's triangle A007318.
Cf. A006125 (row sums), A008406 (unlabeled graphs).
Main diagonal gives A116508.

Programs

  • Maple
    C:= binomial:
    T:= (n, k)-> C( C(n, 2), k):
    seq(seq(T(n, k), k=0..C(n, 2)), n=0..10);  # Alois P. Heinz, Feb 17 2023
  • Mathematica
    Table[Table[Binomial[Binomial[n,2],k],{k,0,Binomial[n,2]}],{n,1,7}]//Grid (* Geoffrey Critzer, Apr 28 2011 *)

Extensions

T(0,0)=1 prepended by Alois P. Heinz, Feb 17 2023