Arithly

← All maths topics

Permutations and combinations

Counting questions ask: how many ways? The answer starts with the multiplication principle — if a job is done in stages with 5, then 4, then 3 choices, there are 5 × 4 × 3 = 60 ways altogether. A permutation counts ARRANGEMENTS, where the order matters: the number of ways to arrange r items chosen from n is nPr = n!/(n − r)!, where n! = n × (n − 1) × … × 1 counts arranging all n.

A combination counts SELECTIONS, where the order does not matter: choosing a committee of 3 from 8 students gives each group once, not once per ordering. That is why nCr = n!/(r!(n − r)!) divides nPr by r! — it removes the r! orderings of each chosen group. The one question that decides everything: does swapping two of the chosen items give a different outcome? President and vice-president: yes — permutation. Committee members: no — combination.

Think first

Before reading the solution, try to answer these — they are the hints Arithly itself gives:

Worked example

How many 3-digit numbers can be formed from the digits 1, 2, 3, 4, 5 without repetition

  1. The ORDER of the digits matters — 123 and 321 are different numbers — so this is a permutation-style count, done place by place.
  2. First place: 5 choices.
  3. Second place: 4 choices — one digit has been used at each earlier place.
  4. Third place: 3 choices — one digit has been used at each earlier place.
  5. Multiply the choices (the multiplication principle): 5 × 4 × 3 = 60.

Answer: 60

Practice

Try these yourself. Each one opens in Arithly with the question already filled in — solve it there and check your working:

Related topics

Probability: Combined Events

Counting outcomes for two events at once.

Binomial Distribution

Combinations wearing a probability costume: nCr everywhere.

Probability Basics

Chance as a number between 0 and 1, built from counting outcomes.

Conditional Probability

Counts that shrink when a condition lands.

Factor Calculator

Factorials live here — the engine of every nPr and nCr.

More topics: all maths topics · Next topic: Trigonometric identities: one ratio gives the rest

© 2026 Arithly. Content: CC BY-NC 4.0 · Code & solver: all rights reserved.