Find the largest k such that \(\large{3^{11}}\) is the sum of k consecutive positive integers.
Okay, I tried in the following method: Let the integers be n, n+1, n+2, ..., n+k-1. Then, \[\large{\text{Sum of k consecutive positive integers} = \cfrac{(n+k-1)(n+k) + (n-1)n}{2}}\]
@ganeshie8
\[\large{\text{Sum of k consecutive positive integers} = \cfrac{(n+k-1)(n+k)}{2} +}\] \(\large{\cfrac{(n-1)n}{2}}\)
Now I tried to equate it to \(\large{3^{11}}\). But, where I am stuck is how I am going to calculate 2 variables from 1 equation.
\[3^{11 } = nk + \dfrac{k(k-1)}{2}\]
Okay why ?
ive just simplified..
\[2 \times 3^{11 } = 2nk + k(k-1)\]
Ohh okay
\[2 \times 3^{11 } = k(2n + k-1)\]
Okay I got that but how should I proceed after that. I am thinking of something like divisibility
\[\large{k|2\cdot3^{11}}\]
yes, there are (1+1)(11+1) = 24 divosors
Okay. But I am not going to check them one by one.. Its not fair :(
k can be any one of them, but we can reduce the number of cases significantly with few observations
Okay. I think we would have to use the fact that k has to be maximum.
(2n+k-1) > k
But that is already true...
that observation reduces the number of cases to more than half
Okay I would still have to check out 12 options ?
yes, this is a quadratic diaphontine equation 12 options is not too unfair :) i see we can reduce further..
Okay.. I too would try to get something out of it. Well thanks for reducing the options ;)
thats it, i think we're done! all 12 cases are solutions to the diaphontine equation out of these solutions, the largest possible value for k is : \(2*3^5\) since it has to be less than the other factor \(3^6\)
Great !! I found the solution here: http://www.artofproblemsolving.com/Wiki/index.php/1987_AIME_Problems/Problem_11 Thanks a lot @ganeshie8 .
I think I would have to review Diophantine Equations :)
Thanks again
nice :) we worked a similar problem recently @ikram002p
it is about finding the largest sequence of consecutive positive integers whose sum is 2000
Ohh ?
Well that would have lesser number of possible cases then ?
yes so much reduction is possible and can be bit tricky : \(2000 = a + (a+1) + \cdots (a+k-1)\)
but the method is exact same as earlier one... we get a diaphontine equation and solve it
we can also found it by finding odd factors
how does that work @ikram002p ?
ik how algorithm ,but dnt know the proof lol
i think greatest n will be ( 3^11+1)/2 then we find k from sumation
Join our real-time social learning platform and learn together with your friends!