Permutation and Combination Shortcuts: Choose the Right Formula with Solved Examples

Learn a decision-first approach to counting, then apply it to ordered roles, committees, digit restrictions, repeated letters, circular seating and complements.

KnowledgeGate Team

Exam prep & CS education

Updated 6 Dec 20266 min read
Permutation and Combination Shortcuts: Choose the Right Formula with Solved Examples

Permutation and combination arithmetic is usually short, but one wrong reading of order, repetition or restriction can select the wrong formula. A safer method is to define one outcome, decide whether choices happen together or in separate cases, ask whether order matters, and then check repetition. Restrictions come last, handled through cases, blocks or complements. For the wider learning path, see Aptitude Course for Placement.

Permutation and Combination Starts with the Counting Principle

The multiplication principle applies when an outcome is built through successive choices. With 5 shirts and 3 trousers, one shirt choice is followed by one trouser choice, so the number of outfits is 5 x 3 = 15.

The addition principle applies to mutually exclusive alternatives. If a trip uses exactly one of 4 bus routes or exactly one of 2 train routes, the number of route choices is 4 + 2 = 6. The bus and train cases must not overlap before you add them.

Words such as and, followed by, and filling successive positions usually signal multiplication. Words such as or and separate, non-overlapping cases usually signal addition.

A factorial compresses successive multiplication: 5! = 5 x 4 x 3 x 2 x 1 = 120, while 0! = 1. Factorial is only a tool. Your first decision is still what one counted outcome means.

Order Decides Between a Permutation and a Combination

A permutation is an ordered selection. Choosing r objects from n distinct objects and assigning their positions gives:

nPr = n! / (n-r)!

A combination is an unordered selection in which only membership matters:

nCr = n! / (r!(n-r)!)

The relationship nPr = nCr x r! explains both formulas. First choose the r objects, then arrange those chosen objects in r! orders.

Suppose there are 8 candidates. Choosing a president and a secretary gives 8P2 = 8 x 7 = 56. A as president with B as secretary differs from B as president with A as secretary.

Choosing a two-person committee from the same pool gives 8C2 = (8 x 7)/(2 x 1) = 28. The pair {A, B} is counted once because swapping its members does not create a new committee. As a self-check, the ordered count should be 2! times the unordered count: 28 x 2 = 56.

Flowchart contrasts ordered roles with an unordered committee for eight candidates, showing 8P2 = 56 and 8C2 = 28 before the 2! check.

For a GATE-oriented continuation of this reasoning, use Permutations and Combinations for GATE CS: One Method.

Restricted Digit Arrangements Need a Complete Case Split

How many four-digit even numbers can be formed from 0, 1, 2, 3, 4 without repeating a digit? Two restrictions apply: the units digit must be even, and the thousands digit cannot be 0.

Case 1: the units digit is 0. The thousands digit has 4 choices: 1, 2, 3, 4. After those two positions are fixed, the hundreds digit has 3 choices and the tens digit has 2. This case contributes 4 x 3 x 2 = 24 numbers. One example is 1230.

Case 2: the units digit is 2 or 4. Choose the units digit in 2 ways. Among the four remaining digits, exactly 3 non-zero digits can fill the thousands place. The hundreds digit then has 3 choices, and the tens digit has 2. This case contributes 2 x 3 x 3 x 2 = 36 numbers. One example is 1032.

The two cases are disjoint because a number has only one units digit. Therefore, the final count is 24 + 36 = 60. The leading-zero rule must be applied inside each case. It cannot be removed vaguely at the end. For instance, 0124 is not a four-digit number, while 1224 is excluded because it repeats 2.

Case tree counts four-digit even numbers from 0, 1, 2, 3 and 4, splitting units 0 versus 2 or 4 and totaling 60.

Repeated Objects and Circular Arrangements Need Adjusted Counts

If identical objects are treated as distinct, swapping them creates duplicate arrangements. In BANANA, the 6 letters include 3 identical As, 2 identical Ns and 1 B. The distinct arrangements are:

6!/(3!2!) = 720/(6 x 2) = 60

Dividing by 3! removes the counted swaps among the three As. Dividing by 2! removes the swaps between the two Ns.

For a standard round-table arrangement, rotations are treated as the same, while mirror images remain different unless the question says otherwise. Fix one of 6 distinct people as an anchor and arrange the other 5: (6-1)! = 5! = 120.

If A and B must sit together, treat AB as one block alongside the other 4 people. The 5 units have (5-1)! = 24 circular arrangements. The block can be AB or BA, so the count is 24 x 2 = 48.

At-Least Restrictions Are Often Faster by Complement

Use a complement when unwanted cases are easier to count than wanted cases: wanted = total - unwanted. It is a choice based on convenience, not an automatic rule.

Choose a four-person team from 10 people with at least one of A or B. The total number of teams is:

10C4 = (10 x 9 x 8 x 7)/(4 x 3 x 2 x 1) = 210

A team containing neither A nor B must choose all 4 members from the other 8 people, giving 8C4 = 70. Hence, the required count is 210 - 70 = 140.

Now cross-check using positive cases. Exactly one of A or B gives 2C1 x 8C3 = 2 x 56 = 112. Including both A and B leaves 2 places to choose from the other 8, giving 8C2 = 28. These cases are disjoint, and 112 + 28 = 140, which matches the complement result.

Permutation and Combination Shortcuts That Preserve Accuracy

Signal

Method

Reason

Roles, ranks, codes without repetition

nPr

Changing position changes the outcome

Committee, team, subset

nCr

Only membership matters

At least one

Complement when the zero-case is simpler

Count total minus none

Identical objects

Divide by repeated factorials

Identical swaps were overcounted

Round table

(n-1)!

Rotations are equivalent

Must stay together

Block method

Bind first, then arrange

Cancel before multiplying. For example, 12C3 = (12 x 11 x 10)/(3 x 2 x 1) = 2 x 11 x 10 = 220. The symmetry rule gives 12C3 = 12C9, but calculate with the smaller lower index, 3, instead of expanding 9 factors.

Use this five-second checklist: define one outcome; decide between successive and choices and separate or cases; test whether swapping selected objects changes the outcome; check repetition and leading zero; then apply together, apart, at-least or circular restrictions.

How Competitive Exams Test Permutation and Combination

Placement tests use passwords, teams or seating. Government-exam quantitative questions can combine digit formation or committee selection with restrictions. GATE-style problems may use functions, distributions or discrete structures, sometimes mixing devices such as circular seating with two people together.

Three rapid classifications show the difference:

  • A three-letter code from 5 distinct letters without repetition is ordered, so 5P3 = 5 x 4 x 3 = 60.

  • A three-member committee from 9 people is unordered, so 9C3 = (9 x 8 x 7)/(3 x 2 x 1) = 84.

  • A three-character code from 5 letters with repetition allowed has 5 choices at each position, so 5^3 = 125.

For a broader placement routine, use Aptitude for Placements: Section Topics and Weekly Plan. SSC learners can structure quantitative practice with SSC CGL Quant Strategy: High-Yield Topics and Weekly Plan.

Permutation and Combination in One Decision Path, Then the Next Step

Successive choices multiply, separate cases add, order calls for a permutation, and selection calls for a combination. Divide out identical swaps, fix an anchor in a circle, and handle restrictions through cases, blocks or complements. Those decisions produce 60 four-digit even numbers in the digit problem and 140 valid teams in the selection problem. For a wider sequence covering aptitude, logical reasoning and verbal ability, continue with Aptitude for Placement.