What are the number of ways in which the sum of 2 integers is less than or equal to a certain number, say N?
-
How do I approach solving this problem? Please explain. Say N is 50. I asked a friend, what are the number of ways in which the sum of 2 POSITIVE integers is less than or equal to 50? He said the answer is 52C2, but he doesn't know how, he just knows the "formula". I again asked, what if I say natural numbers instead of positive integers? He said it would be 51C2. I thought of generalizing the question - and hence integers, not only POSITIVE integers.
-
Answer:
This cannot be generalized for Integers, since the number of ways will always be infinite. Now for your question, suppose you have to find the number of ways in which the sum of two positive numbers is less than or equal to 50. Then you could write this down as: [math]x+y \le 50[/math] with [math]x,y \geq 0[/math]. (this will change to [math]x,y \geq 1[/math] for natural numbers) And you could take an extra variable [math]t[/math] which takes the leftover value and always maintains the sum to 50 and re-write your equation as: [math]x+y+t=50[/math] with [math]x,y,t \geq 0[/math]. (this will again change to [math]x,y \geq 1[/math] for natural numbers) This could be solved easily using binomial expansion. Just find the coefficient of [math]x^{50}[/math] in the expansion of [math](1-x)^{-3}[/math] (I am assuming you'll know how we arrive at [math](1-x)^{-3}[/math]) If you look closely you will notice the answer is only finite because you can limit the values of [math]x,y \geq 0[/math], once you remove that limitation (make them Integers), there will always be infinite ways to do it. Good Luck!
Harris Siddiqui at Quora Visit the source
Related Q & A:
- If Horner’s rule is used what is the number of multiplications to compute P(n) for an polynomial?Best solution by Mathematics
- What is a contact number that I can call Yahoo at?Best solution by Yahoo! Answers
- What is a BSB number?Best solution by Yahoo! Answers
- What's a rare mineral, that only occurs in a certain part of the world?Best solution by Yahoo! Answers
- How do I find a certain tv channel if I don't know what number it is?Best solution by timewarnercable.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.