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!)
A194364 The number of n-permutations having precisely two cycles whose lengths are relatively prime. 1
1, 3, 8, 50, 144, 1764, 8448, 89424, 576000, 10628640, 57231360, 1486442880, 11285084160, 196771680000, 2643856588800, 70734282393600, 558255985459200, 22376988058521600, 227061389721600000, 6244741918808064000, 106778305830518784000, 4148476779335454720000 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,2
COMMENTS
a(n) is the coefficient of x^n/n! in the Taylor series expansion of B(A(x)) where A(x)= Sum_{positive integers relatively prime to n}x^n/n and B(x)=x^2/2!.
LINKS
FORMULA
a(p) = A000254(p-1) for prime p.
MATHEMATICA
f[list_]:=x^First[list]/First[list]+x^Last[list]/Last[list];
Prepend[Table[a=Total[Map[f, Select[IntegerPartitions[n, 2], Apply[GCD, #]==1&]]]; Last[Range[0, n]! CoefficientList[Series[a^2/2!, {x, 0, n}], x]], {n, 3, 30}], 1]
PROG
(PARI) a(n)={sum(k=1, n-1, if(gcd(k, n-k)==1, binomial(n, k)*(k-1)!*(n-k-1)!))/2} \\ Andrew Howroyd, Mar 27 2020
CROSSREFS
Cf. A000254.
Sequence in context: A316797 A000862 A306042 * A338439 A005444 A222684
KEYWORD
nonn
AUTHOR
Geoffrey Critzer, Oct 12 2011
EXTENSIONS
Terms a(19) and beyond from Andrew Howroyd, Mar 27 2020
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 23 02:41 EDT 2024. Contains 371906 sequences. (Running on oeis4.)