Arrangements A(n,k)
Compute arrangements A(n,k) (same as permutations).
A(n,k) = —
Arrangements A(n,k)
An arrangement is an ordered selection of k elements out of n distinct ones: A(n,k) = n·(n−1)·…·(n−k+1) = n! / (n−k)!. Here order matters, and that's exactly what sets arrangements apart from combinations, which use the same formula divided by k!. Take a 4-digit PIN with no repeated digits: it has A(10,4) = 10·9·8·7 = 5040 possibilities. Picking the podium (1st, 2nd, 3rd) among 8 runners gives A(8,3) = 8·7·6 = 336. A few edge cases worth knowing: A(n,0) = 1 (the empty arrangement), A(n,n) = n! (a full permutation), and A(n,k) = 0 when k > n.
Applications and context
It shows up in PIN/password design when you count the keyspace, in podium selection and ranking, in shift scheduling where positions are distinct, in elections (president, vice, secretary out of an assembly), and in the combinatorics problems on competitive exams like ENEM, OBM, OBMEP and the Brazilian vestibulares.
FAQ
Arrangement vs. combination? An arrangement cares about order, so 1st/2nd/3rd count as different outcomes. A combination doesn't, so you just get "the three winners".
Arrangement vs. permutation? A permutation uses all n elements, while an arrangement picks only k of them.
With repetition allowed? Then the count becomes nᵏ instead. A 4-digit PIN that allows repeats, for instance, has 10⁴ = 10000 options.
Related Tools
Combinations & Permutations
Calculate combinations C(n,k) and permutations P(n,k) with formulas and results for large numbers. Essential for combinatorics.
Big Factorial (BigInt)
Compute n! up to 1000 with BigInt and show full result + digit count.
Factorial Calculator
Compute n! (factorial) for any integer up to 170 (double precision limit). Above that, returns exact BigInt. Useful for combinatorics, probability and discrete math. Everything in your browser.
Paper Bulk (Specific Volume)
Compute the bulk (apparent specific volume) of paper, bulk = thickness (µm) / grammage (g/m²), in cm³/g, the inverse of density. A high bulk means a 'fluffier', more voluminous paper for the same weight (book papers, boards, tissue), giving stiffness and softness; a low bulk gives dense, thin paper (high-quality printing papers, glassine). It is a key paper-design parameter. Enter the thickness and the grammage.
UV Resin Volume Calculator
Estimates UV resin volume needed to print an SLA or MSLA part.
Silver Bullets for Werewolf
Estimates silver bullets needed to kill a werewolf by size.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.