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!)
A130275 Number of degree-n permutations such that number of cycles of size 2k is odd (or zero) for every k. 1
1, 1, 2, 6, 21, 105, 675, 4725, 35805, 322245, 3236625, 35602875, 425872755, 5536345815, 77347084815, 1160206272225, 18403556596425, 312860462139225, 5643104418376425, 107218983949152075, 2136610763952639975, 44868826043005439475, 986129980012277775675 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
E.g.f.: sqrt((1+x)/(1-x))*Product_{k>0} (1+sinh(x^(2*k)/(2*k))).
EXAMPLE
a(4)=21 because only the following three degree-4 permutations do not qualify: (12)(34), (13)(24) and (14)(23).
MAPLE
g:=sqrt((1+x)/(1-x))*(product(1+sinh(x^(2*k)/(2*k)), k=1..30)): gser:=series(g, x=0, 25): seq(factorial(n)*coeff(gser, x, n), n=0..20); # Emeric Deutsch, Aug 24 2007
# second Maple program:
with(combinat):
b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0, add(
`if`(j=0 or irem(i, 2)=1 or irem(j, 2)=1, multinomial(n,
n-i*j, i$j)*(i-1)!^j/j!*b(n-i*j, i-1), 0), j=0..n/i)))
end:
a:= n-> b(n$2):
seq(a(n), n=0..30); # Alois P. Heinz, Mar 09 2015
MATHEMATICA
multinomial[n_, k_List] := n!/Times @@ (k!); b[n_, i_] := b[n, i] = If[n == 0, 1, If[i < 1, 0, Sum[If[j == 0 || Mod[i, 2] == 1 || Mod[j, 2] == 1, multinomial[n, Join[{n - i*j}, Array[i &, j]]]*(i - 1)!^j/j!*b[n - i*j, i - 1], 0], {j, 0, n/i}]]]; a[n_] := b[n, n]; Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Dec 22 2016, after Alois P. Heinz *)
CROSSREFS
Sequence in context: A008987 A079129 A305923 * A363362 A156808 A245882
KEYWORD
easy,nonn
AUTHOR
Vladeta Jovovic, Aug 06 2007
EXTENSIONS
More terms from Emeric Deutsch, Aug 24 2007
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 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)