Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Suppose n is an integer, such that the sum of the digits of n is 2, and $10^{10} \lt n \lt 10^{11} $. The number of different values for n is:

Let me try to list them :

(1) 11000000000
(2) 10100000000
(3) 10010000000
...
(10)10000000001

So I am getting 10 possible values but the answer is 11.What am I missing here ?

EDIT: I was missing 20000000000.

share|improve this question
4  
20,000,000,000? –  Jonas Meyer Oct 29 '10 at 5:24
1  
Your new question doesn't make sense. Also, it seems better to start a new question instead of replacing an existing one. –  Yuval Filmus Oct 29 '10 at 5:57
    
@ Yuval Filmus : Fixed. –  Quixotic Oct 29 '10 at 6:07
1  
The question should not be marked as unanswered. –  TCL Nov 22 '10 at 0:17
add comment

1 Answer

up vote 3 down vote accepted

Per the OP's edit, to remove this from the unanswered question list, the 11th entry is 20,000,000,000.

share|improve this answer
    
Thanks,+1 and accepted.:-) –  Quixotic Mar 26 '11 at 15:14
    
Thanks for the points. I've been trolling the unanswered questions. –  Carl Brannen Mar 27 '11 at 5:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.