5 = 1 + 4 = 2 + 3 Let w ( x ) denote the number of ways to express a positive integer x as the sum of 1 or more positive integers, all of which are distinct.
For example, w ( 5 ) = 3 , as shown above. Note that the order doesn't matter, so ( 1 + 4 ) = ( 4 + 1 ) are considered the same thing.
Find the sum of all value of a > 1 such that w ( a ) = a .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We claim that for a ≥ 1 0 , , we have w ( a + 1 ) − w ( a ) ≥ 1 .
Consider any expression of a = x 1 + x 2 + . . . + x n , where x 1 > x 2 > . . . > x n . Then a + 1 = ( x 1 + 1 ) + x 2 + . . . + x n . Thus w ( a + 1 ) > = w ( a ) .
However, whenever we have a partition of a + 1 , in which the largest term is exactly one more than the second largest term, there won't be a corresponding expression for a .
As an example, consider 6 = 5 + 1 = 4 + 2 = 3 + 2 + 1 . Adding one to the largest term in each such expression, we get
7 = 6 + 1 = 5 + 2 = 4 + 2 + 1 , but we MAY get additional expressions, such as 4 + 3 , where there is no corresponding 3 + 3 as an expression for 6 . So if we can prove that for all a ≥ 1 0 , we can find such an expression, our claim is proved. This is easy , because
3 k = ( k + 1 ) + k + ( k − 1 ) 3 k + 1 = ( k + 2 ) + ( k + 1 ) + ( k − 2 ) 3 k + 2 = ( k + 2 ) + ( k + 1 ) + ( k − 1 )
Notice, w ( 1 1 ) = 1 2 . This means w ( a ) ≥ a + 1 for all a ≥ 1 1 . It suffices to evaluate w ( a ) for all a ≤ 1 0 . A quick check shows that a = 1 0 is the only solution.
Woah! This is the simplest solution I've seen! I like how you are able to prove that w ( a ) is an increasing function!
If we check the number of ways to express a certain integer, a pattern will be observed.The pattern is ,
ω ( 1 ) = 1
ω ( 2 ) = 1
ω ( 3 ) = 2
ω ( 4 ) = 2
ω ( 5 ) = 3
ω ( 6 ) = 4
ω ( 7 ) = 5
ω ( 8 ) = 6
ω ( 9 ) = 8
ω ( 1 0 ) = 1 0
ω ( 1 1 ) = 1 2
ω ( 1 2 ) = 1 5
You can see that difference between the numbers increases by 1 after every set of 4 numbers.The pattern is not clear for the first 4 numbers but after that the pattern can be identified clearly. So the number of ways increases continuously and after 1 0 , ω (a) > a
Actually, if we keep going, we'll get w(13)=18; w(14)=22. The increase happens sooner than in the 4 numbers, so the pattern is not so simple.
Problem Loading...
Note Loading...
Set Loading...
First, note that w ( 1 0 ) = 1 0 :
This is enough to answer the problem. (It probably should have asked the sum of all a such that w ( a ) = a to make it not so simple.) But we will show that this is indeed the only solution.
It can be verified manually (if with difficulty) that w ( n ) < n for all n = 2 , 3 , … , 9 . Thus there's no solution for n < 1 0 .
For n > 1 0 , observe that the following are partitions with no repeated parts:
They account for a total of 1 + ( ⌈ 2 n ⌉ − 1 ) + ( ⌊ 2 n ⌋ − 2 ) = n − 2 partitions. Thus it's enough to prove that for n > 1 0 , there exists three other partitions with no repeated parts to claim w ( n ) > n . Sure, this is easy enough: ( n − 5 ) + 3 + 2 , ( n − 6 ) + 4 + 2 , ( n − 6 ) + 3 + 2 + 1 suffice. This completes the proof.