login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A123551 Triangle read by rows: T(n,k) gives number of unlabeled graphs without endpoints on n nodes and k edges, (n >= 0, 0 <= k <= n(n-1)/2). 5
1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 2, 4, 3, 2, 1, 1, 1, 0, 0, 1, 1, 2, 6, 8, 13, 16, 13, 8, 5, 2, 1, 1, 1, 0, 0, 1, 1, 2, 6, 10, 22, 48, 76, 97, 102, 84, 60, 39, 20, 10, 5, 2, 1, 1, 1, 0, 0, 1, 1, 2, 6, 10, 25, 64, 152, 331, 617, 930, 1173, 1253, 1140 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,21
REFERENCES
R. W. Robinson, Numerical implementation of graph counting algorithms, AGRC Grant, Math. Dept., Univ. Newcastle, Australia, 1977.
LINKS
FORMULA
T(n,k) = A008406(n,k) - A240168(n,k). - Andrew Howroyd, Apr 16 2021
EXAMPLE
Triangle begins:
[0] 1;
[1] 1;
[2] 1, 0;
[3] 1, 0, 0, 1;
[4] 1, 0, 0, 1, 1, 1, 1;
[5] 1, 0, 0, 1, 1, 2, 4, 3, 2, 1, 1;
[6] 1, 0, 0, 1, 1, 2, 6, 8, 13, 16, 13, 8, 5, 2, 1, 1;
...
PROG
(PARI)
permcount(v) = {my(m=1, s=0, k=0, t); for(i=1, #v, t=v[i]; k=if(i>1&&t==v[i-1], k+1, 1); m*=t*k; s+=t); s!/m}
edges(v, t) = {prod(i=2, #v, prod(j=1, i-1, my(g=gcd(v[i], v[j])); t(v[i]*v[j]/g)^g )) * prod(i=1, #v, my(c=v[i]); t(c)^((c-1)\2)*if(c%2, 1, t(c/2)))}
row(n) = {my(s=0); sum(k=0, n, forpart(p=k, s+=permcount(p) * edges(p, w->1+y^w) * y^(n-k)*polcoef(prod(i=1, #p, 1-x^p[i]), n-k)/k!)); Vecrev(s, binomial(n, 2)+1)}
{ for(n=0, 6, print(row(n))) } \\ Andrew Howroyd, Feb 07 2024
CROSSREFS
Row sums are A004110.
Cf. A008406, A240168, A369928 (labeled).
Sequence in context: A307500 A049245 A123547 * A286275 A029717 A135567
KEYWORD
nonn,tabf
AUTHOR
N. J. A. Sloane, Nov 14 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)