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!)
A261431 Number of permutations p of [n] without fixed points such that p^n = Id. 4
1, 0, 1, 2, 9, 24, 175, 720, 7665, 42560, 436401, 3628800, 70215145, 479001600, 7116730335, 88966701824, 1653438211425, 20922789888000, 457688776369825, 6402373705728000, 145083396337080201, 2457732174030848000, 55735573291977790575, 1124000727777607680000 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(n) = n! * [x^n] exp(Sum_{d|n, d>1} x^d/d).
MAPLE
with(numtheory):
A:= proc(n, k) option remember; `if`(n<0, 0, `if`(n=0, 1,
add(mul(n-i, i=1..j-1)*A(n-j, k), j=divisors(k) minus {1})))
end:
a:= n-> A(n$2):
seq(a(n), n=0..25);
MATHEMATICA
A[n_, k_] := A[n, k] = If[n < 0, 0, If[n == 0, 1, Sum[Product[n - i, {i, 1, j - 1}] A[n - j, k], {j, Divisors[k] ~Complement~ {1}}]]];
a[n_] := A[n, n];
Table[a[n], {n, 0, 25}] (* Jean-François Alcover, Mar 23 2017, translated from Maple *)
CROSSREFS
Main diagonal of A261430.
Cf. A074759.
Sequence in context: A347106 A097346 A343576 * A360515 A226388 A053194
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Aug 18 2015
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 08:20 EDT 2024. Contains 371782 sequences. (Running on oeis4.)