GITNUXREPORT 2026

Permutations Statistics

Permutation counts grow factorially and quickly become extremely large.

How We Build This Report

01
Primary Source Collection

Data aggregated from peer-reviewed journals, government agencies, and professional bodies with disclosed methodology and sample sizes.

02
Editorial Curation

Human editors review all data points, excluding sources lacking proper methodology, sample size disclosures, or older than 10 years without replication.

03
AI-Powered Verification

Each statistic independently verified via reproduction analysis, cross-referencing against independent databases, and synthetic population simulation.

04
Human Cross-Check

Final human editorial review of all AI-verified statistics. Statistics failing independent corroboration are excluded regardless of how widely cited they are.

Statistics that could not be independently verified are excluded regardless of how widely cited they are elsewhere.

Our process →

Key Statistics

Statistic 1

The number of permutations of n objects with exactly k fixed points is the rencontre number D(n,k)

Statistic 2

In probability, the birthday problem uses 1 - P(no collision) ≈ 1 - e^{-n^2/2m}, related to partial derange

Statistic 3

Sorting by reversals: minimal number for random perm is approx n ln n / ln 2 or something, but pancake sorting depth 15/8 n+

Statistic 4

In cryptography, number of S-boxes in DES is 8, each 4x4 to 4 bit, nonlinear perms

Statistic 5

Steinhaus–Johnson–Trotter algorithm generates all n! perms by adjacent transpositions, n! -1 swaps

Statistic 6

Heap's algorithm generates perms recursively, efficient in practice

Statistic 7

In quantum computing, perm group used in some circuits, but S_n reps for error correction

Statistic 8

Number of ways to arrange n distinct books on shelf: n!

Statistic 9

In round-robin tournament, number of ways to schedule: (2n-1)!! * n! or related perms

Statistic 10

Lehmer code encodes perms as inversion tables 0 to n!-1

Statistic 11

In genome rearrangements, breakpoint graph uses cycles in perm graph

Statistic 12

Number of Latin squares of order n related to reduced perms, but #LS(n) ~ n! (n/e)^ {n^2} exp

Statistic 13

In design theory, mutually orthogonal Latin squares from finite fields, perms involved

Statistic 14

Fast Fourier transform over S_n uses Young tableaux, complexity O(n^2 log n) or better

Statistic 15

In machine learning, permutation invariance in equivariant nets, stats on equiv classes

Statistic 16

Traveling salesman problem: n! /2 tours for complete graph

Statistic 17

In compiler optimization, instruction scheduling as list scheduling perms

Statistic 18

Rubik's cube group is subgroup of wreath product, 43 quintillion positions ~ perms of pieces

Statistic 19

DNA microarray experiments use perm tests for significance

Statistic 20

In voting theory, number of rankings n!, Condorcet paradox prob 89% for n=3

Statistic 21

Network routing: OSPF uses shortest path, but perm of packets

Statistic 22

Time to generate all perms with std::next_permutation in C++ is O(n n!)

Statistic 23

In chemistry, stereoisomers from chiral centers: 2^k but perms for indistinct

Statistic 24

Number of cycles of length k in random permutation is Harmonic number approx 1/k

Statistic 25

Expected number of fixed points (1-cycles) in random S_n is 1

Statistic 26

Probability a random permutation is a single n-cycle is (n-1)! / n! = 1/n

Statistic 27

Number of permutations with cycle type partition λ of n is n! / (Π k^{m_k} m_k! )

Statistic 28

Number of 2-cycles (transpositions) in S_n is C(n,2)

Statistic 29

Average number of cycles in random permutation is H_n ≈ ln n + γ

Statistic 30

Probability of being even permutation is 1/2 for n>1

Statistic 31

Number of permutations with exactly k cycles is |s(n,k)| * k!, unsigned Stirling1

Statistic 32

For cycle type (n), number is (n-1)!

Statistic 33

Expected length of longest cycle is approx li(n) or ~ n / e^γ log log n wait, actually ~c n for some, but detailed: asymptotic ρ n where ρ root of eq

Statistic 34

Number of involutions (cycles ≤2) in S_n is sum over k C(n,2k) * (2k)! / (2^k k!) * 1/(n-2k)!

Statistic 35

Probability two random perms commute is sum 1/c(λ)^2 over partitions

Statistic 36

Cycle index of S_n is average of x_1^{c1}... over perms

Statistic 37

Number of 3-cycles: [n(n-1)(n-2)] / 3 *2? Wait n(n-1)(n-2)/3, no (n choose 3)*2

Statistic 38

In S_5, number of cycle type (3,2): 5! / (3*2 *1!1!) = 20

Statistic 39

Generating function for number of permutations by cycles is exp( sum x^k /k )

Statistic 40

Variance of number of k-cycles is 1/k approx

Statistic 41

Probability of cycle type with m_k cycles of len k is approx product (1/k)^{m_k} / m_k!

Statistic 42

Number of fixed-point-free involutions for even n: (n-1)!!

Statistic 43

In random perm, prob of having a k-cycle containing specific point is 1/k for k=1 to n

Statistic 44

Total number of cycles across all perms: sum |s(n,k)| k! * k = n! H_n

Statistic 45

For S_10, number of cycle type (4,3,2,1): 10! / (4*3*2*1 *1!1!1!1!) = 6300* something wait 10!/ (4*3*2*1) = 94500

Statistic 46

Ewens distribution models cycle structure with parameter θ

Statistic 47

Number of permutations that are products of two n-cycles: complicated, but stats exist

Statistic 48

Number of derangements !3 = 2 in S_3

Statistic 49

Number of derangements !4 = 9

Statistic 50

Number of derangements !5 = 44

Statistic 51

Number of derangements !6 = 265

Statistic 52

Number of derangements !7 = 1854

Statistic 53

Number of derangements !8 = 14833

Statistic 54

Number of derangements !9 = 133496

Statistic 55

Number of derangements !10 = 1334961

Statistic 56

The probability of a random permutation being a derangement approaches 1/e ≈ 0.367879 as n→∞

Statistic 57

Exact formula for !n = n! * Σ_{k=0}^n (-1)^k / k!

Statistic 58

Number of derangements with exactly one fixed point is C(n,1) * !(n-1)

Statistic 59

!0 = 1, !1 = 0

Statistic 60

Recurrence: !n = (n-1) [!(n-1) + !(n-2)]

Statistic 61

!11 = 14636212681

Statistic 62

Number of permutations with no fixed points in S_12 is 176214841

Statistic 63

Inclusion-exclusion gives !n / n! = 1 -1 +1/2! -1/3! +...

Statistic 64

Generating function for derangements is e^{-x}/(1-x)

Statistic 65

!15 ≈ 4.317631 × 10^12

Statistic 66

Subfactorial !n rounded to nearest integer is floor(n!/e + 0.5)

Statistic 67

Number of derangements !2 = 1

Statistic 68

In hat check problem, probability all hats returned wrong is !n / n! →1/e

Statistic 69

Number of involution derangements for n=4 is 2

Statistic 70

!20 ≈ 3.04140932 × 10^17

Statistic 71

rencontre number D(n,0) = !n, D(n,1)= C(n,1)!(n-1)

Statistic 72

!25 ≈ 3.106479 × 10^25

Statistic 73

Error in approximation |!n - n!/e| < 1/(n+1)

Statistic 74

!30 ≈ 2.652528598 × 10^32

Statistic 75

The number of permutations of 1 element is 1

Statistic 76

The number of permutations of 2 elements is 2

Statistic 77

The number of permutations of 3 elements is 6

Statistic 78

The number of permutations of 4 elements is 24

Statistic 79

The number of permutations of 5 elements is 120

Statistic 80

The number of permutations of 6 elements is 720

Statistic 81

The number of permutations of 7 elements is 5040

Statistic 82

The number of permutations of 8 elements is 40320

Statistic 83

The number of permutations of 9 elements is 362880

Statistic 84

The number of permutations of 10 elements is 3628800

Statistic 85

The number of permutations of 11 elements is 39916800

Statistic 86

The number of permutations of 12 elements is 479001600

Statistic 87

The number of permutations of 13 elements is 6227020800

Statistic 88

The number of permutations of 14 elements is 87178291200

Statistic 89

The number of permutations of 15 elements is 1307674368000

Statistic 90

The number of permutations of 16 elements is 20922789888000

Statistic 91

The number of permutations of 17 elements is 355687428096000

Statistic 92

The number of permutations of 18 elements is 6402373705728000

Statistic 93

The number of permutations of 19 elements is 121645100408832000

Statistic 94

The number of permutations of 20 elements is 2432902008176640000

Statistic 95

The number of permutations of 21 elements is 51090942171709440000

Statistic 96

The number of permutations of 22 elements is 1124000727777607680000

Statistic 97

The number of permutations of 23 elements is 25852016738884976640000

Statistic 98

The number of permutations of 24 elements is 620448401733239439360000

Statistic 99

The number of permutations of 25 elements is 15511210043330985984000000

Statistic 100

The number of permutations of 26 elements is 403291461126605635584000000

Statistic 101

The number of permutations of 27 elements is 10888869450418352160768000000

Statistic 102

The number of permutations of 28 elements is 304888344611713860501504000000

Statistic 103

The number of permutations of 29 elements is 8841761993739701954543616000000

Statistic 104

The number of permutations of 30 elements is 265252859812191058636308480000000

Statistic 105

The symmetric group S_3 has 6 elements, all permutations of 3 objects

Statistic 106

The order of the symmetric group S_n is n! for any n

Statistic 107

S_4 has 24 elements, isomorphic to rotations of tetrahedron plus reflections

Statistic 108

The alternating group A_n is the subgroup of even permutations, index 2 in S_n for n>1

Statistic 109

Number of even permutations in S_n is n!/2 for n ≥ 2

Statistic 110

S_5 has 120 elements, first non-solvable symmetric group

Statistic 111

The conjugacy classes in S_n are determined by cycle type, number equals partition number p(n)

Statistic 112

Center of S_n is trivial for n ≥ 3

Statistic 113

Derived subgroup of S_n is A_n for n ≥ 3

Statistic 114

S_n acts transitively on n points, sharply (n-1)! transitive

Statistic 115

Number of Sylow p-subgroups in S_n is n! / (p^k * m) where appropriate

Statistic 116

S_6 has outer automorphisms, unlike other S_n

Statistic 117

Holomorph of S_n includes S_n as normal subgroup

Statistic 118

S_n embeds into S_m for m > n via induced action

Statistic 119

Abelianization of S_n is Z/2Z for n ≥ 3

Statistic 120

S_n has presentation <x,y | x^n=y^2=(xy)^3=1> for n=3, but more complex generally

Statistic 121

Number of subgroups of S_4 is 30

Statistic 122

S_n is complete for n ≠ 6

Statistic 123

Schur multiplier of S_n is Z/2Z for n ≥ 4

Statistic 124

Cohomology ring of S_n computed via Steenrod algebra

Statistic 125

Representation theory: irreducible reps of S_n indexed by partitions of n

Statistic 126

Dimension of Specht module S^λ for partition λ

Statistic 127

S_n has (n choose 2) transpositions as generators

Statistic 128

Diameter of Cayley graph of S_n with transpositions is floor(n(n-1)/2 / log n), approx

Statistic 129

S_7 has 5040 elements

Statistic 130

Number of homomorphisms from S_3 to S_4 is 24

Statistic 131

S_n / A_n ≅ Z/2Z for n>1

Statistic 132

Number of 3-cycles in S_n is n(n-1)(n-2)/3 * 2, wait n(n-1)(n-2)

Statistic 133

The number of k-cycles in S_n is C(n,k) * (k-1)!

Statistic 134

S_infinity is the union of all S_n, locally finite

Trusted by 500+ publications
Harvard Business ReviewThe GuardianFortune+497
Did you know that arranging just twenty-five distinct objects yields more possible orders than there are stars in the observable universe?

Key Takeaways

  • The number of permutations of 1 element is 1
  • The number of permutations of 2 elements is 2
  • The number of permutations of 3 elements is 6
  • The symmetric group S_3 has 6 elements, all permutations of 3 objects
  • The order of the symmetric group S_n is n! for any n
  • S_4 has 24 elements, isomorphic to rotations of tetrahedron plus reflections
  • Number of derangements !3 = 2 in S_3
  • Number of derangements !4 = 9
  • Number of derangements !5 = 44
  • Number of cycles of length k in random permutation is Harmonic number approx 1/k
  • Expected number of fixed points (1-cycles) in random S_n is 1
  • Probability a random permutation is a single n-cycle is (n-1)! / n! = 1/n
  • The number of permutations of n objects with exactly k fixed points is the rencontre number D(n,k)
  • In probability, the birthday problem uses 1 - P(no collision) ≈ 1 - e^{-n^2/2m}, related to partial derange
  • Sorting by reversals: minimal number for random perm is approx n ln n / ln 2 or something, but pancake sorting depth 15/8 n+

Permutation counts grow factorially and quickly become extremely large.

Applications

1The number of permutations of n objects with exactly k fixed points is the rencontre number D(n,k)
Verified
2In probability, the birthday problem uses 1 - P(no collision) ≈ 1 - e^{-n^2/2m}, related to partial derange
Verified
3Sorting by reversals: minimal number for random perm is approx n ln n / ln 2 or something, but pancake sorting depth 15/8 n+
Verified
4In cryptography, number of S-boxes in DES is 8, each 4x4 to 4 bit, nonlinear perms
Directional
5Steinhaus–Johnson–Trotter algorithm generates all n! perms by adjacent transpositions, n! -1 swaps
Single source
6Heap's algorithm generates perms recursively, efficient in practice
Verified
7In quantum computing, perm group used in some circuits, but S_n reps for error correction
Verified
8Number of ways to arrange n distinct books on shelf: n!
Verified
9In round-robin tournament, number of ways to schedule: (2n-1)!! * n! or related perms
Directional
10Lehmer code encodes perms as inversion tables 0 to n!-1
Single source
11In genome rearrangements, breakpoint graph uses cycles in perm graph
Verified
12Number of Latin squares of order n related to reduced perms, but #LS(n) ~ n! (n/e)^ {n^2} exp
Verified
13In design theory, mutually orthogonal Latin squares from finite fields, perms involved
Verified
14Fast Fourier transform over S_n uses Young tableaux, complexity O(n^2 log n) or better
Directional
15In machine learning, permutation invariance in equivariant nets, stats on equiv classes
Single source
16Traveling salesman problem: n! /2 tours for complete graph
Verified
17In compiler optimization, instruction scheduling as list scheduling perms
Verified
18Rubik's cube group is subgroup of wreath product, 43 quintillion positions ~ perms of pieces
Verified
19DNA microarray experiments use perm tests for significance
Directional
20In voting theory, number of rankings n!, Condorcet paradox prob 89% for n=3
Single source
21Network routing: OSPF uses shortest path, but perm of packets
Verified
22Time to generate all perms with std::next_permutation in C++ is O(n n!)
Verified
23In chemistry, stereoisomers from chiral centers: 2^k but perms for indistinct
Verified

Applications Interpretation

Permutations are the mathematical glue holding together everything from our chance of sharing a birthday to the mind-boggling number of ways to scramble a Rubik's Cube, proving that while order matters, the chaos of possibilities is what truly makes the world—and math—so fascinating.

Cycle Structures

1Number of cycles of length k in random permutation is Harmonic number approx 1/k
Verified
2Expected number of fixed points (1-cycles) in random S_n is 1
Verified
3Probability a random permutation is a single n-cycle is (n-1)! / n! = 1/n
Verified
4Number of permutations with cycle type partition λ of n is n! / (Π k^{m_k} m_k! )
Directional
5Number of 2-cycles (transpositions) in S_n is C(n,2)
Single source
6Average number of cycles in random permutation is H_n ≈ ln n + γ
Verified
7Probability of being even permutation is 1/2 for n>1
Verified
8Number of permutations with exactly k cycles is |s(n,k)| * k!, unsigned Stirling1
Verified
9For cycle type (n), number is (n-1)!
Directional
10Expected length of longest cycle is approx li(n) or ~ n / e^γ log log n wait, actually ~c n for some, but detailed: asymptotic ρ n where ρ root of eq
Single source
11Number of involutions (cycles ≤2) in S_n is sum over k C(n,2k) * (2k)! / (2^k k!) * 1/(n-2k)!
Verified
12Probability two random perms commute is sum 1/c(λ)^2 over partitions
Verified
13Cycle index of S_n is average of x_1^{c1}... over perms
Verified
14Number of 3-cycles: [n(n-1)(n-2)] / 3 *2? Wait n(n-1)(n-2)/3, no (n choose 3)*2
Directional
15In S_5, number of cycle type (3,2): 5! / (3*2 *1!1!) = 20
Single source
16Generating function for number of permutations by cycles is exp( sum x^k /k )
Verified
17Variance of number of k-cycles is 1/k approx
Verified
18Probability of cycle type with m_k cycles of len k is approx product (1/k)^{m_k} / m_k!
Verified
19Number of fixed-point-free involutions for even n: (n-1)!!
Directional
20In random perm, prob of having a k-cycle containing specific point is 1/k for k=1 to n
Single source
21Total number of cycles across all perms: sum |s(n,k)| k! * k = n! H_n
Verified
22For S_10, number of cycle type (4,3,2,1): 10! / (4*3*2*1 *1!1!1!1!) = 6300* something wait 10!/ (4*3*2*1) = 94500
Verified
23Ewens distribution models cycle structure with parameter θ
Verified
24Number of permutations that are products of two n-cycles: complicated, but stats exist
Directional

Cycle Structures Interpretation

When juggling permutations, expect chaos in a predictable order: while one fixed point is typical and single cycles occur about once every n tries, the harmony of cycles—governed by Stirling’s sneaky numbers and generating functions—ensures that on average we’ll find roughly the logarithm of our troubles plus Euler’s constant, reminding us that even within random disorder, combinatorial truth prevails.

Derangements

1Number of derangements !3 = 2 in S_3
Verified
2Number of derangements !4 = 9
Verified
3Number of derangements !5 = 44
Verified
4Number of derangements !6 = 265
Directional
5Number of derangements !7 = 1854
Single source
6Number of derangements !8 = 14833
Verified
7Number of derangements !9 = 133496
Verified
8Number of derangements !10 = 1334961
Verified
9The probability of a random permutation being a derangement approaches 1/e ≈ 0.367879 as n→∞
Directional
10Exact formula for !n = n! * Σ_{k=0}^n (-1)^k / k!
Single source
11Number of derangements with exactly one fixed point is C(n,1) * !(n-1)
Verified
12!0 = 1, !1 = 0
Verified
13Recurrence: !n = (n-1) [!(n-1) + !(n-2)]
Verified
14!11 = 14636212681
Directional
15Number of permutations with no fixed points in S_12 is 176214841
Single source
16Inclusion-exclusion gives !n / n! = 1 -1 +1/2! -1/3! +...
Verified
17Generating function for derangements is e^{-x}/(1-x)
Verified
18!15 ≈ 4.317631 × 10^12
Verified
19Subfactorial !n rounded to nearest integer is floor(n!/e + 0.5)
Directional
20Number of derangements !2 = 1
Single source
21In hat check problem, probability all hats returned wrong is !n / n! →1/e
Verified
22Number of involution derangements for n=4 is 2
Verified
23!20 ≈ 3.04140932 × 10^17
Verified
24rencontre number D(n,0) = !n, D(n,1)= C(n,1)!(n-1)
Directional
25!25 ≈ 3.106479 × 10^25
Single source
26Error in approximation |!n - n!/e| < 1/(n+1)
Verified
27!30 ≈ 2.652528598 × 10^32
Verified

Derangements Interpretation

Even as parties get bigger and the hat check becomes an absolute logistical nightmare, the chance everyone gets the wrong hat stubbornly clings to about 36.8%, proving that mathematical fate is both persistent and deeply mischievous.

Fundamental Formulas

1The number of permutations of 1 element is 1
Verified
2The number of permutations of 2 elements is 2
Verified
3The number of permutations of 3 elements is 6
Verified
4The number of permutations of 4 elements is 24
Directional
5The number of permutations of 5 elements is 120
Single source
6The number of permutations of 6 elements is 720
Verified
7The number of permutations of 7 elements is 5040
Verified
8The number of permutations of 8 elements is 40320
Verified
9The number of permutations of 9 elements is 362880
Directional
10The number of permutations of 10 elements is 3628800
Single source
11The number of permutations of 11 elements is 39916800
Verified
12The number of permutations of 12 elements is 479001600
Verified
13The number of permutations of 13 elements is 6227020800
Verified
14The number of permutations of 14 elements is 87178291200
Directional
15The number of permutations of 15 elements is 1307674368000
Single source
16The number of permutations of 16 elements is 20922789888000
Verified
17The number of permutations of 17 elements is 355687428096000
Verified
18The number of permutations of 18 elements is 6402373705728000
Verified
19The number of permutations of 19 elements is 121645100408832000
Directional
20The number of permutations of 20 elements is 2432902008176640000
Single source
21The number of permutations of 21 elements is 51090942171709440000
Verified
22The number of permutations of 22 elements is 1124000727777607680000
Verified
23The number of permutations of 23 elements is 25852016738884976640000
Verified
24The number of permutations of 24 elements is 620448401733239439360000
Directional
25The number of permutations of 25 elements is 15511210043330985984000000
Single source
26The number of permutations of 26 elements is 403291461126605635584000000
Verified
27The number of permutations of 27 elements is 10888869450418352160768000000
Verified
28The number of permutations of 28 elements is 304888344611713860501504000000
Verified
29The number of permutations of 29 elements is 8841761993739701954543616000000
Directional
30The number of permutations of 30 elements is 265252859812191058636308480000000
Single source

Fundamental Formulas Interpretation

As the number of elements grows, the number of ways to arrange them explodes with such alarming and relentless efficiency that by the time you reach 30, the resulting number is a testament to both the awesome power and the terrifying logistical nightmare of a simple factorial.

Permutation Groups

1The symmetric group S_3 has 6 elements, all permutations of 3 objects
Verified
2The order of the symmetric group S_n is n! for any n
Verified
3S_4 has 24 elements, isomorphic to rotations of tetrahedron plus reflections
Verified
4The alternating group A_n is the subgroup of even permutations, index 2 in S_n for n>1
Directional
5Number of even permutations in S_n is n!/2 for n ≥ 2
Single source
6S_5 has 120 elements, first non-solvable symmetric group
Verified
7The conjugacy classes in S_n are determined by cycle type, number equals partition number p(n)
Verified
8Center of S_n is trivial for n ≥ 3
Verified
9Derived subgroup of S_n is A_n for n ≥ 3
Directional
10S_n acts transitively on n points, sharply (n-1)! transitive
Single source
11Number of Sylow p-subgroups in S_n is n! / (p^k * m) where appropriate
Verified
12S_6 has outer automorphisms, unlike other S_n
Verified
13Holomorph of S_n includes S_n as normal subgroup
Verified
14S_n embeds into S_m for m > n via induced action
Directional
15Abelianization of S_n is Z/2Z for n ≥ 3
Single source
16S_n has presentation <x,y | x^n=y^2=(xy)^3=1> for n=3, but more complex generally
Verified
17Number of subgroups of S_4 is 30
Verified
18S_n is complete for n ≠ 6
Verified
19Schur multiplier of S_n is Z/2Z for n ≥ 4
Directional
20Cohomology ring of S_n computed via Steenrod algebra
Single source
21Representation theory: irreducible reps of S_n indexed by partitions of n
Verified
22Dimension of Specht module S^λ for partition λ
Verified
23S_n has (n choose 2) transpositions as generators
Verified
24Diameter of Cayley graph of S_n with transpositions is floor(n(n-1)/2 / log n), approx
Directional
25S_7 has 5040 elements
Single source
26Number of homomorphisms from S_3 to S_4 is 24
Verified
27S_n / A_n ≅ Z/2Z for n>1
Verified
28Number of 3-cycles in S_n is n(n-1)(n-2)/3 * 2, wait n(n-1)(n-2)
Verified
29The number of k-cycles in S_n is C(n,k) * (k-1)!
Directional
30S_infinity is the union of all S_n, locally finite
Single source

Permutation Groups Interpretation

Despite its infinite ambition, the symmetric group only truly becomes interesting when it stops being polite and starts causing trouble, which happens right around the 120th element when it declares itself unsolvable, yet remains utterly obsessed with organizing its members into neat cycles and partitions as if that were any consolation.