The number of integers, between 100 and 1000 having the sum of their digits equals to 14 , is __________.
Answer (integer)
70
Solution
<p>Number in this range will be 3-digit number.</p>
<p>$N=\overline{a b c}$ such that $a+b+c=14$</p>
<p>Also, $a \geq 1, \quad a, b, c \in\{0,1,2, \ldots 9\}$</p>
<p>Case I</p>
<p>All 3-digit same</p>
<p>$\Rightarrow 3 a=14$ not possible</p>
<p>Case II</p>
<p>Exactly 2 digit same:</p>
<p>$\Rightarrow 2 a+c=14$</p>
<p>$$\begin{aligned}
& (a, c) \in\{(3,8),(4,6),(5,4),(6,2),(7,0)\} \\
& \Rightarrow\left(\frac{3!}{2!}\right) \text { ways } \Rightarrow 5 \times 3-1 \\
& =15-1=14
\end{aligned}$$</p>
<p>Case III</p>
<p>All digits are distinct</p>
<p>$a+b+c=14$</p>
<p>without losing generality $a > b > c$</p>
<p>$$\begin{aligned}
& (a, b, c) \in\left\{\begin{array}{l}
(9,5,0),(9,4,1),(9,3,2) \\
(8,6,0),(8,5,1),(8,4,2) \\
(7,6,1),(7,5,2),(7,4,3) \\
(6,5,3)
\end{array}\right. \\
& \Rightarrow 8 \times 3!+2(3!-2!)=48+8=56 \\
& =0+14+56=70
\end{aligned}$$</p>
About this question
Subject: Mathematics · Chapter: Permutations and Combinations · Topic: Fundamental Counting Principle
This question is part of PrepWiser's free JEE Main question bank. 135 more solved questions on Permutations and Combinations are available — start with the harder ones if your accuracy is >70%.