Mathematics · Permutations and Combinations

JEE Main 2025 — 28 January, Evening Shift — Question 21

The number of natural numbers, between 212 and 999 , such that the sum of their digits is 15 , is

Answer: 64

Numerical answer — enter this value.

Step-by-step solution

We   seek   three-digit   numbers   N=100a+10b+c   with   a∈{1,…,9},  b,c∈{0,…,9},a+b+c=15,212≤N≤999.For   a   fixed   a let   s=15−a,   so   b+c=s.The   number   of   nonnegative   solutions   (b,c)   with   0≤b,c≤9 equals{s+1,0≤s≤9,19−s,10≤s≤18.\begin{aligned} &\text{We\; seek\; three-digit\; numbers\; }N=100a+10b+c\; \text{ with\; }a\in\{1,\dots,9\},\;b,c\in\{0,\dots,9\},\\ &\qquad a+b+c=15,\qquad 212\le N\le 999.\\[6pt] &\text{For\; a\; fixed\; }a\text{ let\; }s=15-a,\; \text{ so\; }b+c=s.\\ &\text{The\; number\; of\; nonnegative\; solutions\; }(b,c)\; \text{ with\; }0\le b,c\le9\text{ equals}\\ &\quad \begin{cases} s+1, & 0\le s\le 9,\\[4pt] 19-s, & 10\le s\le 18. \end{cases} \end{aligned}

Now list s=15−as=15-a for a=1,…,9a=1,\dots,9:

s=14,13,12,11,10,9,8,7,6,s=14,13,12,11,10,9,8,7,6,

so the counts for each aa are

19−14, 19−13, 19−12, 19−11, 19−10, 9, 9, 8, 7=5,6,7,8,9,10,9,8,7.19-14,\,19-13,\,19-12,\,19-11,\,19-10,\,9,\,9,\,8,\,7 =5,6,7,8,9,10,9,8,7.

Hence the total number of three-digit integers with digit sum 1515 is

5+6+7+8+9+10+9+8+7=69.5+6+7+8+9+10+9+8+7=69.

We must exclude those <212<212. Such numbers can only have a=1a=1 or a=2a=2. For a=1a=1 there are 55 numbers (the case s=14s=14); for a=2a=2 the required b+c=13b+c=13 has no solution with 0≤b≤10\le b\le1 (since cc would exceed 99). So there are 55 numbers <212<212 with digit sum 1515.

Therefore the count in the interval 212≤N≤999212\le N\le999 is

69−5=64.69-5=64. 64\boxed{64}

Answer key and solution verified before publishing.

Practise Permutations and Combinations

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Main 2025
Subject
Mathematics
Chapter
Permutations and Combinations
Topic
Permutations
The number of natural numbers, between 212 and 999 , such that the… | JEE Main 2025 PYQ with Solution · DhiX AI