155 Replies - 13369 Views - Last Post: 04 May 2009 - 08:17 PM
#62
Re: Calculate this~!
Posted 25 December 2008 - 03:10 PM
#63
Re: Calculate this~!
Posted 25 December 2008 - 04:09 PM
This was from an AIME test, so the answer is an integer between 0 and 999, inclusive. The answers are probably available online... so no cheating
There exist unique positive integers x and y that satisfy the equation x^2+84x+2008=y^2. Find x + y.
EDIT: Yeah, you'll want pen and paper for this one. And don't worry, I was able to solve this one with pen and paper (No calculators allowed on AIME) For my curiousity, it'd be great if you posted your work too, so I can compare with how I solved it. And if people get stuck, I'll give you guys a few pointers on how I did it as well...
This post has been edited by guahguahmonster: 25 December 2008 - 04:19 PM
#64
Re: Calculate this~!
Posted 25 December 2008 - 06:07 PM
Wait~wouldn't it equal anypositive number greater than the sqrt(2093)+1? I am asking because you can substitue any number for one of the variables and solve for the other. So I can't really see it being an integral answer, but I think I might be reading the question wrong. I got the 2093 by plgging in 1 for x and solving for y.
Yeah, I am pretty sure I am probably reading the question wrong, hahaha.
This post has been edited by rdsrds2120: 25 December 2008 - 06:11 PM
#65
Re: Calculate this~!
Posted 25 December 2008 - 06:35 PM
#67
Re: Calculate this~!
Posted 26 December 2008 - 03:01 AM
The final answer must be an even number since x is odd iff (if and only if) y is odd.
You need to find a w^2 + 244 = y^2 (where w = x + 42)
Alot of numbers can be discarded since the least significant digit of any square (y^2) must be in the set [0,1,4,5,6,9] which means that the least significant digit of w^2 must be in the set [0,1,2,5,6,7]. But the least significant digit of w can only be in the intersection of these two sets [0,1,5,6] (since again a square can only have least significant digit equal to a number from the first set) so you need only try the solutions for the following w's.
w=k, w=k+1, w=k+5, w=k+6 (k is any multiple of 10 within the bound)
A solution can be found for w = 60 => x = 18, y = 62 => x+y = 80
This is likely not the best way to do it but it works.
This post has been edited by Gloin: 26 December 2008 - 03:13 AM
#68
Re: Calculate this~!
Posted 26 December 2008 - 01:09 PM
#69
Re: Calculate this~!
Posted 26 December 2008 - 02:00 PM
#70
Re: Calculate this~!
Posted 26 December 2008 - 02:17 PM
... being the terms in between following the same pattern.
Pen and paper allowed, no calculators though most can't handle numbers this large anyways.
The answer of course being in the range [0..30]
This post has been edited by Gloin: 27 December 2008 - 11:17 AM
#71
Re: Calculate this~!
Posted 26 December 2008 - 06:00 PM
(x+42)^2 + 244 = y^2
(x+42)^2 = y^2 - 244
x + 42 = sqrt(y^2 - 244)
Up to here, same as how you've done it. My thought process the diverged:
y^2 obviously must be a perfect square, but because we know x is an integer, y^2-244 must also be a perfect square.
As you had it, we'll let w^2 + 244 = y^2
The difference between any two consecutive squares n^2 and (n+1)^2 is 2n+1, which is odd, so y - w must be even, otherwise the differences could not add up to 244
Factoring 244 (2*2*61) reveals that y - w actually could only be 2 (244 = 121+123).
2w+1=121. so w = 60, y = 62. (And squaring the numbers confirms that 62^2-244=60^2)
You already found that w - 42 = x, so x = 18, arriving at the same answer.
Now I'll think about yours for a bit...
#72
Re: Calculate this~!
Posted 27 December 2008 - 11:16 AM
#73
Re: Calculate this~!
Posted 28 December 2008 - 03:06 AM
A hint: A useful fact that I realized when solving this on paper (that I hadn't thought of before I proposed the question) was that using mod 31 simplified the whole solving alot since 31 is one less than a power of 2.
This post has been edited by Gloin: 28 December 2008 - 03:14 AM
#74
Re: Calculate this~!
Posted 30 December 2008 - 04:34 AM
#75
Re: Calculate this~!
Posted 30 December 2008 - 11:26 AM
#76
Re: Calculate this~!
Posted 30 December 2008 - 11:59 AM
For example, 30^30 mod 31 is the same as (-1)^30 mod 31 and since (-1)^30 = 1 you can just discard that factor as it's also 1 mod 31.

New Topic/Question

MultiQuote


|