sign up I login
 advanced
refer a friend - earn nickels!!

Ask & Discuss Questions with Community & Experts

Moderation Team
 90 chars left    advanced
Ask iit jee aieee pet cbse icse state board community Community Discussion Question: permutation and combination
Forum Index -> Algebra like the article? email it to a friend.  
Author Message
sangeetha5491 (10)

Cool goIITian

Olaaa!! Perrrfect answer. 2  [2 rates]

sangeetha5491's Avatar

total posts: 59    
offline Offline
how many integers between 1 and 1000000 have the sum of their digits equal to 18?
    
hell_ever_on_AOPS (9)

New kid on the Block

Olaaa!! Perrrfect answer. 1  [3 rates]

hell_ever_on_AOPS's Avatar

total posts: 12    
offline Offline
Consider the representation X_1X_2....X_6 where X_i are digits subject to 0<X_1
 
the answer is the coefficient of X^18 in [X+(X)^2+..+(X)^9].[1+X+(X)^2+..+(X)^9]^5
 
PS1: My first post
 
PS2: Does goiit input read latex???
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
blonkers (5)

New kid on the Block

Olaaa!! Perrrfect answer. 1  [1 rates]

blonkers's Avatar

total posts: 8    
offline Offline
can u explain your ans
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
hell_ever_on_AOPS (9)

New kid on the Block

Olaaa!! Perrrfect answer. 1  [3 rates]

hell_ever_on_AOPS's Avatar

total posts: 12    
offline Offline
Number of all possible ways to select numbers a_i such that they sum to n subject to the condition that (m_i)<= (a_i) <= (k_i) is equal to the number of non-negative integral soutions of [i=1][p]  a_i =n$, where each a_i is distinct and subject to the above conditions.
 
The total number of such solutions is equal to the coefficient of x^n in the expansion of
 
(x^{m_1}+x^{m_1+1}+.........+x^{k_1}) * (x^{m_2}+x^{m_2+1}+....+x^{k_2}).......(x^{m_p}+x^{m_p+1}+....+x^{k_p})
 
This is also called the multinomial theorem.
 
In the above problem we need to find all numbers such that the sum of digits is 18. So it is equal to the number of solutions to a+b+c+d+e+f=18, where a is the 100000 place digit, b is the 10000 place digit and so on.....
 
 
I did a mistake in the previous solution (did not think and write) and the mistake was that even the 100000 digit can be zero and yet , there will be no overcounting.
 
Hence the correct answer will be equal to the coefficient of x^{18} in the expansion of (1+x+x^2+....+x^9)^6
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
sandeepramesh (1247)

Blazing goIITian

Olaaa!! Perrrfect answer. 201  [322 rates]

sandeepramesh's Avatar

total posts: 1180    
offline Offline
and this is exactly the same question you asked hell_ever if im right and i answered it (im madness btw :D) See ur nudgebook
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
hell_ever_on_AOPS (9)

New kid on the Block

Olaaa!! Perrrfect answer. 1  [3 rates]

hell_ever_on_AOPS's Avatar

total posts: 12    
offline Offline
poda....
 
i thought i would garner some respect like wat u, pardesi and carcul do in aops....
 
ennoda mannum maryade pati onnake enna...????????
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
 
Forum Index -> Algebra
Go to:   

Top Offers for goIITians
Correspondence Courses
Brilliant Tutorials
Narayana Institute
Aakash Institute
Classroom/Crash Courses
Narayana - Kota , Delhi , Others
Brilliant Tutorials - Class , Crash
Aakash Institute - Medical , Engg
Online Test Series
Brilliant Tutorials
Narayana Institute
Aakash Institute
Mahesh Tutorials
AMITY      Sri Chaitanya