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!)
A057731 Irregular triangle read by rows: T(n,k) = number of elements of order k in symmetric group S_n, for n >= 1, 1 <= k <= g(n), where g(n) = A000793(n) is Landau's function. 23

%I #79 Sep 23 2023 13:45:13

%S 1,1,1,1,3,2,1,9,8,6,1,25,20,30,24,20,1,75,80,180,144,240,1,231,350,

%T 840,504,1470,720,0,0,504,0,420,1,763,1232,5460,1344,10640,5760,5040,

%U 0,4032,0,3360,0,0,2688,1,2619,5768,30996,3024,83160,25920,45360,40320,27216,0,30240,0,25920,24192,0,0,0,0,18144

%N Irregular triangle read by rows: T(n,k) = number of elements of order k in symmetric group S_n, for n >= 1, 1 <= k <= g(n), where g(n) = A000793(n) is Landau's function.

%C Every row for n >= 7 contains zeros. Landau's function quickly becomes > 2*n, and there is always a prime between n and 2*n. T(n,p) = 0 for such a prime p. - _Franklin T. Adams-Watters_, Oct 25 2011

%D Herbert S. Wilf, "The asymptotics of e^P(z) and the number of elements of each order in S_n." Bull. Amer. Math. Soc., 15.2 (1986), 225-232.

%H Alois P. Heinz, <a href="/A057731/b057731.txt">Rows n = 1..30, flattened</a>

%H FindStat - Combinatorial Statistic Finder, <a href="http://www.findstat.org/St000058/">The order of a permutation</a>.

%H Koda, Tatsuhiko; Sato, Masaki; Takegahara, Yugen; <a href="https://core.ac.uk/download/pdf/59122805.pdf">2-adic properties for the numbers of involutions in the alternating groups</a>, J. Algebra Appl. 14 (2015), no. 4, 1550052 (21 pages). - _N. J. A. Sloane_, Mar 27 2015

%F Sum_{k=1..A000793(n)} k*T(n,k) = A060014(n); A000793 = Landau's function.

%e Triangle begins:

%e 1;

%e 1, 1;

%e 1, 3, 2;

%e 1, 9, 8, 6;

%e 1, 25, 20, 30, 24, 20;

%e 1, 75, 80, 180, 144, 240;

%e 1, 231, 350, 840, 504, 1470, 720, 0, 0, 504, 0, 420;

%e ...

%p with(group):

%p for n from 1 do

%p f := [seq(0,i=1..n!)] ;

%p mknown := 0 ;

%p # loop through the permutations of n

%p Sn := combinat[permute](n) ;

%p for per in Sn do

%p # write this permutation in cycle notation

%p gen := convert(per,disjcyc) ;

%p # compute the list of lengths of the cycles, then the lcm of these

%p cty := [seq(nops(op(i,gen)),i=1..nops(gen))] ;

%p if cty <> [] then

%p lcty := lcm(op(cty)) ;

%p else

%p lcty := 1 ;

%p end if;

%p f := subsop(lcty = op(lcty,f)+1,f) ;

%p mknown := max(mknown,lcty) ;

%p end do:

%p ff := add(el,el=f) ;

%p print(seq(f[i],i=1..mknown)) ;

%p end do: # _R. J. Mathar_, May 26 2014

%p # second Maple program:

%p b:= proc(n, g) option remember; `if`(n=0, x^g, add((j-1)!

%p *b(n-j, ilcm(g, j))*binomial(n-1, j-1), j=1..n))

%p end:

%p T:= n-> (p-> seq(coeff(p, x, i), i=1..degree(p)))(b(n, 1)):

%p seq(T(n), n=1..12); # _Alois P. Heinz_, Jul 11 2017

%t <<Combinatorica`; Table[Distribution[Apply[LCM, Map[Length, Map[ToCycles, Permutations[n]], {2}], 1], Range[Max[Apply[LCM, IntegerPartitions[n], 1]]]], {n, 1, 8}] // Grid

%t (* Second program: *)

%t row[n_] := (orders = PermutationOrder /@ GroupElements[SymmetricGroup[n]]; Table[Count[orders, k], {k, 1, Max[orders]}]); Table[row[n], {n, 1, 9}] // Flatten (* _Jean-François Alcover_, Aug 31 2016 *)

%t b[n_, g_] := b[n, g] = If[n == 0, x^g, Sum[(j-1)!*b[n-j, LCM[g, j]]* Binomial[n-1, j-1], {j, 1, n}]];

%t T[n_] := Function[p, Table[Coefficient[p, x, i], {i, 1, Exponent[p, x]}]][ b[n, 1]];

%t Array[T, 12] // Flatten (* _Jean-François Alcover_, May 03 2019, after _Alois P. Heinz_ *)

%o (Magma) {* Order(g) : g in Sym(6) *};

%o (PARI) T(n,k)={n!*polcoeff(sumdiv(k, i, moebius(k/i)*exp(sumdiv(i, j, x^j/j) + O(x*x^n))), n)} \\ _Andrew Howroyd_, Jul 02 2018

%Y Cf. A000793, also A054522 (for cyclic group), A057740 (alternating group), A057741 (dihedral group).

%Y Rows sums give A000142, last elements of rows give A074859, columns k=2, 3, 5, 7, 11 give A001189, A001471, A059593, A153760, A153761. - _Alois P. Heinz_, Feb 16 2013

%Y Main diagonal gives A074351.

%Y Cf. A222029.

%K nonn,tabf,easy,look,nice

%O 1,5

%A _Roger Cuculière_, Oct 29 2000

%E More terms from _N. J. A. Sloane_, Nov 01 2000

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 18 03:33 EDT 2024. Contains 371767 sequences. (Running on oeis4.)