NDA Maths · Permutation & Combination
Forming Numbers from Digits
Counting how many numbers can be built from given digits under constraints — number of digits, a leading-zero rule, divisibility, or the sum of all such numbers.
Why this matters
Digit problems are permutations dressed in number rules. The two perennial gotchas are the leading-zero exclusion and divisibility tests; the 'sum of all numbers' shortcut saves real time.
Concept 1 of 3
Counting numbers with digit constraints
Intuition
Definition
Fill positions left to right. Distinct digits: first slot has (non-zero choices), each later slot one fewer. Leading-zero rule: if 0 is available, the first digit has one fewer option; equivalently total arrangements minus those starting with 0. Repetition allowed multiplies the per-slot choices.
Worked example
- No zero present, so just .
Practice this conceptself-check · 4 quick reps
Try it yourself
Practice — Level 1 (4 reps)
Quick reps to lock in the method. Try each, then check.
- 1.Which digit cannot be 0?
- 2.3-digit distinct numbers from ?
- 3.Handle leading zero by?
- 4.Repetition allowed: slots are?
From the bank · past-year question
[Q3 · Sep · 2024]
Concept 2 of 3
Divisibility constraints
Intuition
Definition
- ÷2: units even. ÷5: units 0 or 5. ÷10: units 0.
- ÷4: last two digits form a multiple of 4. ÷8: last three.
- ÷3 / ÷9: digit sum divisible by 3 / 9 (independent of order — so a fixed digit set is all-or-nothing).
- ÷6: divisible by 2 and 3 together.
Worked example
- Divisible by 5 ⇒ units digit is 5 (only choice here): 1 way.
- First two slots from the remaining 4 digits: .
Practice this conceptself-check · 4 quick reps
Try it yourself
Practice — Level 1 (4 reps)
Quick reps to lock in the method. Try each, then check.
- 1.Divisible by 4 depends on?
- 2.Divisible by 3 depends on?
- 3.Divisible by 10 needs units digit?
- 4.5-digit numbers from 1–5: divisible by 3?
From the bank · past-year question
[Q18 · Sep · 2025]
Concept 3 of 3
Sum of all numbers formed
Intuition
Definition
Using distinct digits to form all -digit numbers: each digit appears in each place times. Sum . Adjust the repeat count and place-value string for -digit selections.
Worked example
- Each digit appears in each place times; digit sum .
- Sum .
Practice this conceptself-check · 4 quick reps
Try it yourself
Practice — Level 1 (4 reps)
Quick reps to lock in the method. Try each, then check.
- 1.Each digit appears per place how many times (n distinct)?
- 2.Place-value string for 3-digit sums?
- 3.Sum of all 3-digit numbers from 3,4,5?
- 4.Sum formula factors?
From the bank · past-year question
[Q48 · Sep · 2018]
Mastery check — 5 interleaved questions
Try each one before clicking. Questions are interleaved across the concepts above, not grouped — interleaving sharpens transfer.
[Q7 · Apr · 2017]
[Q50 · Apr · 2021]
[Q3 · Apr · 2024]
[Q44 · Apr · 2026]
[Q17 · Apr · 2024]
Drill every past-year question on this subtopic
20 questions from the bank — paginated, with cart and Word-export support.