For part 1 use this link
In this post I will discuss a technique to deal with partitioning of integers namely the generating function.Generating functions in association to partitioning was first used by Leonhard Euler.
The whole idea of generating functions is to have a power series where the coefficient of determines the number of ways in which an event can happen.
For Example, the generating function determines the number of elements of a k-element set.This is due to the fact that the number of subsets of an k-element set is equal to and in the the generating function the coefficient of is indeed .
To find the number of generating functions in a partition we need to consider how many ones are there in the partition ,how many two's ,three's and so on.In each partition the ones can occur times;thus contributing a factor of to the generating function.Similarly can occur times thus contributing a factor that equals
( to the generating function.Continuing this logic we find that the generating function for the number of partitions of an integer
is: .
We can use (We can choose any x as it is only representative in character) ,to find the summation of the geometric series to be: . The logic behind building this generating function is very important. Similar logic is needed to build generating functions for problems which require that the partitions meet certain conditions. We can use generating functions to prove certain relationships between partitions even though we cannot find a closed formula. There are very good approximations for the number of partitions of the general integer, n, however.The best approximation yet was given by Rademacher. The formula is far too advanced for this paper, however.
In how many ways can n be written as the sum of two positive integers? Representations differing in only the order are considered to be the same.
Find the number of solutions to the inequality a_1 + a_2 + a_3 + a_4 \le 68 where the are non-negative integers.
Post the answers in the comments section.In the next post of this series I will prove a few properties of partitioning using generating functions.Good-Day!!
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Problem 1
Let the two positive integers be x1,x2
Thus,
x1+x2=n, where x1,x2≥1
Substitute x1=y1+1 and x2=y2+1, where y1,y2≥0
Thus,
y1+y2=n−2
⇒ Number of solutions =(2−1n−2+2−1)=(1n−1)=n−1
Problem 2
The number of solutions to this inequality would be the sum of the number of integral solutions to the following equalities:
a1+a2+a3+a4=0
a1+a2+a3+a4=1
a1+a2+a3+a4=2
⋮
a1+a2+a3+a4=68
Thus, the total number of solutions is,
n=(4−10+4−1)+(4−11+4−1)+…+(4−168+4−1)
n=(33)+(34)+…+(371)
To evaluate this sum,
we shall write (33) as (44), since they both are equal.
Thus,
n=(44)+(34)+…+(371)
Now, we know,
(rn)+(r+1n)=(r+1n+1)
Using this relation,
(34)+(44)=(45)
We then combine this term with the next, using the same relation again and again, and at the end, we will have,
n=(471)+(371)=(472) solutions
Log in to reply
A more elegant approach would be to find the number of non-negative integral solutions to the equation k=0∑5ak=68 instead. Note that each valid selection of (a1,a2,a3,a4) gives rise to a unique non-negative a5, which is why they give the same number of solutions.
Log in to reply
Yeah, I was a bit sleepy at that time.
That is what Josh Rowley said.. :3
Problem 2
The problem can be changed into finding the number of solutions to a1+a2+a3+a4+k=68 where all terms are nonnegative integers. Therefore the number of solutions is (5−168+5−1)=(472)=1028790
Log in to reply
Can u explain ur solution a little further? Cause I feel quite confused...
Log in to reply
It's pretty straight forward. Notice that, the inequality given to us is equivalent to the equality here.
For different values of k, i.e k=0,1,2,…, the equation will represent the same thing that the problem did.
I don't seem to be able to explain very nicely.
Even Better, just put the values of k, you will find that the equalities thus obtained match to that provided in my solution. (So, it is equivalent).
I really hope I didn't confuse you. If so, please tell me.
Log in to reply
Problem 2
Is the answer (4−168+4−1)=57155?
Log in to reply
No, I don't think so. This formula is valid for equalities and not inequalities.
Log in to reply
Oh I didn't notice the sign! Anw, thanks for telling me! :)