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!)
A059171 Size of largest conjugacy class in S_n, the symmetric group on n symbols. 10

%I #41 Jan 22 2023 02:36:31

%S 1,1,3,8,30,144,840,5760,45360,403200,3991680,43545600,518918400,

%T 6706022400,93405312000,1394852659200,22230464256000,376610217984000,

%U 6758061133824000,128047474114560000,2554547108585472000,53523844179886080000,1175091669949317120000

%N Size of largest conjugacy class in S_n, the symmetric group on n symbols.

%C Apart from initial terms, same as A001048. The number a(n) is the maximum of row n in the triangle of refined rencontres numbers A181897. - _Tilman Piesk_, Apr 02 2012

%H Vincenzo Librandi, <a href="/A059171/b059171.txt">Table of n, a(n) for n = 1..200</a>

%F a(1) = a(2) = 1; a(n) = n*(n-2)! = (n!)/(n-1) for n > 2. This is the number of (n-1)-cycles in S_n.

%F E.g.f.: -log(1-x) - x + 1/(1-x). [for a(n+1) - _Michael Somos_, Aug 26 2015]

%F E.g.f.: x - x^2/2 - x*log(1-x). - _Michael Somos_, Aug 26 2015

%F The sequence 1, 3, 8, ... has e.g.f. (1+x-x^2)/(1-x)^2 and a(n) = n!(n+2-0^n) = n!*A065475(n). - _Paul Barry_, May 14 2004

%F E.g.f.: E(0) - x, where E(k) = 1 + x/(k+1)/(1 - 1/(1 + 1/(k+1)/E(k+1))); (continued fraction). - _Sergei N. Gladkovskii_, Mar 27 2013

%F G.f.: 1 + x/Q(0), where Q(k)= 1 - x/(1+x) - x/(1+x)*(k+2)/(1 - x/(1+x)*(k+1)/Q(k+1)); (continued fraction). - _Sergei N. Gladkovskii_, Apr 22 2013

%F From _Amiram Eldar_, Jan 22 2023: (Start)

%F Sum_{n>=1} 1/a(n) = 5/2.

%F Sum_{n>=1} (-1)^(n+1)/a(n) = 2/e - 1/2. (End)

%e a(3) = 3 because the largest conjugacy class in S_3 consists of the three 2-cycles {(12),(13),(23)}.

%e G.f. = x + x^2 + 3*x^3 + 8*x^4 + 30*x^5 + 144*x^6 + 840*x^7 + 5760*x^8 + ...

%p a := proc(n) if n<=2 then RETURN(1) else RETURN(n*(n-2)!) fi: end:for n from 1 to 40 do printf(`%d,`,a(n)) od:

%t Join[{1,1},Table[n (n-2)!,{n,3,30}]] (* _Harvey P. Dale_, Oct 25 2011 *)

%t a[ n_] := If[ n < 0, 0, n! SeriesCoefficient[ x - x^2/2 - x Log[1 - x], {x, 0, n}]]; (* _Michael Somos_, Aug 26 2015 *)

%t a[ n_] := With[ {m = n - 1}, If[ m < 0, 0, m! SeriesCoefficient[ -Log[1 - x] - x + 1/(1 - x), {x, 0, m}]]]; (* _Michael Somos_, Aug 26 2015 *)

%o (Magma) [1,1],[n*Factorial(n-2): n in [3..25]]; // _Vincenzo Librandi_, Oct 26 2011

%o (PARI) Vec(1+x*serlaplace((1+x-x^2)/(1-x)^2+O(x^66))) \\ _Joerg Arndt_, Mar 28 2013

%o (PARI) a(n)=if(n<=1,1,n!/(n-1)); \\ _Joerg Arndt_, Mar 28 2013

%Y Cf. A001048, A065475, A181897.

%K nonn,easy,nice

%O 1,3

%A _Des MacHale_, Feb 14 2001

%E More terms from Larry Reeves (larryr(AT)acm.org), _Fabian Rothelius_ and James A. Sellers, Feb 15 2001

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 March 28 09:04 EDT 2024. Contains 371240 sequences. (Running on oeis4.)