A328682 Array read by antidiagonals: T(n,r) is the number of connected r-regular loopless multigraphs on n unlabeled nodes.
1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 2, 1, 0, 0, 1, 0, 1, 0, 3, 0, 1, 0, 0, 1, 0, 1, 1, 4, 6, 6, 1, 0, 0, 1, 0, 1, 0, 6, 0, 19, 0, 1, 0, 0, 1, 0, 1, 1, 7, 15, 49, 50, 20, 1, 0, 0, 1, 0, 1, 0, 9, 0, 120, 0, 204, 0, 1, 0, 0, 1, 0, 1, 1, 11, 36, 263, 933, 1689, 832, 91, 1, 0, 0, 1, 0, 1, 0, 13, 0, 571, 0, 13303, 0, 4330, 0, 1, 0, 0, 1, 0, 1, 1, 15, 72, 1149, 12465, 90614, 252207, 187392, 25227, 509, 1, 0, 0
Offset: 0
Examples
Square matrix T(n,r) begins: ======================================================== n\r | 0 1 2 3 4 5 6 7 ----+--------------------------------------------------- 0 | 1, 1, 1, 1, 1, 1, 1, 1, ... 1 | 1, 0, 0, 0, 0, 0, 0, 0, ... 2 | 0, 1, 1, 1, 1, 1, 1, 1, ... 3 | 0, 0, 1, 0, 1, 0, 1, 0, ... 4 | 0, 0, 1, 2, 3, 4, 6, 7, ... 5 | 0, 0, 1, 0, 6, 0, 15, 0, ... 6 | 0, 0, 1, 6, 19, 49, 120, 263, ... 7 | 0, 0, 1, 0, 50, 0, 933, 0, ... 8 | 0, 0, 1, 20, 204, 1689, 13303, 90614, ... ...
Links
- Andrew Howroyd, Table of n, a(n) for n = 0..350
- Brendan McKay and Adolfo Piperno, Nauty and Traces
Crossrefs
Programs
-
nauty
# This program will execute the "else echo" line if the graph is nontrivial (first three columns, first two rows or both row and column indices are odd) for ((i=0; i<16; i++)); do n=0 r=${i} while ((n<=i)); do if( (((r==0)) && ((n==0)) ) || ( ((r==0)) && ((n==1)) ) || ( ((r==1)) && ((n==2)) ) || ( ((r==2)) && !((n==1)) ) ); then echo 1 elif( ((n==0)) || ((n==1)) || ((r==0)) || ((r==1)) || (! ((${r}%2 == 0)) && ! ((${n}%2 == 0)) || ( ((r==2)) && ((n==1)) )) ); then echo 0 else echo $(./geng -c -d1 ${n} -q | ./multig -m${r} -r${r} -u 2>&1 | cut -d ' ' -f 7 | grep -v '^$'); fi; ((n++)) ((r--)) done done
Formula
Column r is the inverse Euler transform of column r of A333330. - Andrew Howroyd, Mar 15 2020
Comments