|
||
Title: Sum Equals Perfect Square Post by ThudanBlunder on Dec 23rd, 2008, 8:21am For which values of n is 13 - 23 + 33 - 43 + 53 -....... + (-1)n+1n3 a perfect square? |
||
Title: Re: Sum Equals Perfect Square Post by towr on Dec 23rd, 2008, 8:54am I suppose it's not entirely proper to first generate a bit of the sequence and look it up; but nevertheless: A001844 (http://www.research.att.com/~njas/sequences/A001844). So, a bit more along the lines of intent: [hide]We only need to look at odd n, because otherwise it's negative, and thus not a perfect square. (2n+1)3-(2n)3 = 1 + 6*n + 12*n2 So we have sumi=0(n-1)/2(1 + 6*i + 12*i2) = (n+1)/2 + 6*(n-1)/2((n-1)/2+1)/2+ 12 * (n-1)/2((n-1)/2+1)(2(n-1)/2+1)/6 = (n+1)2*(2*n - 1)/4 Which is a perfect square when 2*n - 1 is. And of course, those n are easy to find starting with the odd squares; just add one and divide by two. [/hide] |
||
Title: Re: Sum Equals Perfect Square Post by SMQ on Dec 23rd, 2008, 9:10am on 12/23/08 at 08:54:56, towr wrote:
Hmm, strange that there's no cross reference between that and A011934 (http://www.research.att.com/~njas/sequences/A011934). --SMQ |
||
Powered by YaBB 1 Gold - SP 1.4! Forum software copyright © 2000-2004 Yet another Bulletin Board |