OFFSET
0,3
COMMENTS
These are simple connected graphs with n+2 nodes labeled L, R, 1, 2, ..., n. The subgraph on nodes 1..n is a forest (no loops). Nodes L and R are both connected to some subset of 1..n but not to each other.
FORMULA
Although we have not written out all the details of the proof, it appears that a(n) ~ 2^n*n^(n-2).
EXAMPLE
a(1) = 1: L--1--R.
a(2) = 14:
=====
. 1
./.\
L . R (number = 1)
.\./
. 2
=====
. 1
./.\
L . R (number = 4)
.\..
. 2
=====
. 1
./|\
L | R (number = 1)
.\|/
. 2
=====
. 1
./|\
L | R (number = 4)
.\|.
. 2
=====
. 1
./|\
L | R (number = 2)
. |.
. 2
=====
. 1
. |\
L | R (number = 2)
.\|.
. 2
=====
Total = 14
PROG
(PARI) { a(n) = local(p, q, m); p=partitions(n); sum(j=1, #p, q=p[j]; m=vector(n); for(i=1, #q, m[q[i]]++); n! * prod(i=1, #q, q[i]^(q[i]-2)/q[i]!) / prod(i=1, #m, m[i]!) * (prod(i=1, #q, 4^q[i]-1)-2^#q*prod(i=1, #q, 2^q[i]-1) ) ) } \\ Max Alekseyev, May 10 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Nadia Heninger and N. J. A. Sloane, May 10 2008
EXTENSIONS
Edited and extended by Max Alekseyev, May 10 2009
STATUS
approved