1
$\begingroup$

How many 10 digit numbers are there so the sum of the digits is $2$?

$abcdefghij$ is the 10 digit number. By default, $a=1$ is a must.

$= 1bcdefghij$

Now we need: $bcdefghij = 1$

How can I solve this combinatorically? Not by checking and substitution?

$\endgroup$
2
  • 8
    $\begingroup$ Why must $a=1$? What's wrong with $2000000000$? $\endgroup$ Jan 26, 2015 at 17:55
  • $\begingroup$ "checking and substitution" opens quite often a fruitful route to "combinatorics". $\endgroup$
    – drhab
    Jan 26, 2015 at 18:03

1 Answer 1

6
$\begingroup$

if $a=1$, for the rest $9$ places, $1$ can be taken anywhere, and also the rest $8$ places must be $0$ or the sum would exceed $2$.

Also if $a=2$, then the rest $9$ places must be $0$, or sum would exceed $2$.

Hence there are $9+1=10$ such numbers.

$\endgroup$
2
  • $\begingroup$ I assume you meant that the rest of the $9$ places would be $0$ if $a = 2$. $\endgroup$ Jan 26, 2015 at 18:04
  • $\begingroup$ @N.F.Taussig yes ofcourse, thank you :) $\endgroup$
    – Shobhit
    Jan 26, 2015 at 18:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .