OFFSET
3,2
COMMENTS
A 2-regular labeled graph is a simple labeled graph such that every vertex has degree 2.
LINKS
Alois P. Heinz, Rows n = 3..170, flattened
FORMULA
E.g.f.: exp(-xy/2-x^2y/4)/(1-x)^(y/2).
T(n,1) = (n-1)!/2, T(n,k) = Sum_{j=3..n-3} C(n-1,j-1)*T(j,1)*T(n-j,k-1) for k>1. - Alois P. Heinz, Nov 25 2011
Sum_{k=1..floor(n/3)} T(n,k)*2^k = A038205(n) the number of permutations with minimum cycle size of 3. - Geoffrey Critzer, Nov 05 2012
EXAMPLE
1;
3;
12;
60, 10;
360, 105;
2520, 987;
20160, 9576, 280;
181440, 99144, 6300;
MAPLE
T:= proc(n, k) option remember; `if`(k=1, (n-1)!/2,
add(binomial(n-1, j-1) *T(j, 1) *T(n-j, k-1), j=3..n-3))
end:
seq(seq(T(n, k), k=1..n/3), n=3..14); # Alois P. Heinz, Nov 25 2011
MATHEMATICA
f[list_]:=Select[list, #>0&]; Flatten[Drop[Map[f, a = Log[1/(1 - x)]/2 - x/2 - x^2/4; Range[0, 20]! CoefficientList[Series[Exp[y a], {x, 0, 20}], {x, y}]], 3]]
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Geoffrey Critzer, Nov 25 2011
STATUS
approved