Britannica
Sources used in this answer
How does the factorial formula calculate the number of arrangements of n distinct objects?
Created from Britannica articles
using AI.
AI can make mistakes, so verify using Britannica articles.
combinatorics
Figure 1: Ferrers' partitioning diagram for 14.
In combinatorics, the factorial formula, denoted as , calculates the total number of ways to arrange distinct objects in a row.
This formula works by multiplying all consecutive positive integers from 1 up to and including :
The logic behind this is based on the sequential choices available when placing objects:
* For the first position, there are possible objects to choose from.
* For the second position, there are objects remaining.
* This continues until only one object remains for the final position.
By the fundamental counting principle, the total number of permutations is the product of these choices, resulting in . For example, if you have 5 distinct objects, there are possible arrangements. By convention, is defined as 1.12