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
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
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 1 · Permutation & Combination · Forming Numbers from Digits
Concept 2 of 3: Divisibility constraints
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.
- Counting the multiples of in a RANGE : , or once the first and last multiples are found — 3-digit multiples of 7 run from 105 to 994: .
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 2 · Permutation & Combination · Forming Numbers from Digits
Concept 3 of 3: Sum of all numbers formed
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. When 0 is one of the digits the symmetry breaks in the LEADING place: 0 cannot lead, so each non-zero digit appears in the leading place times but in every other place only times (the arrangements with 0 leading are removed). Compute the leading-place total and the other places separately, or take the all-digits sum above and subtract the sum of the -digit numbers formed when 0 leads.
Sum of all numbers formed from n distinct digits
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 3 · Permutation & Combination · Forming Numbers from Digits
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Formulas (1)
- Sum of all numbers formed
Sum of all numbers formed from n distinct digits
Test yourself on Permutation & Combination
20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.