if P is prime then for what values of P expression 4P+1 yeilds a perfect square?
the number whose square it is, must be an odd number \[4P=a^2-1\\ P=(a/2)^2-(1/4)\] 1. "a" is odd 2. P = even ? only for P=2?
\[P=\left({a\over2}+{1\over2}\right)\left({a\over2}-{1\over2}\right)\] P is a mean of two odds. which makes it even
@wio please verify
Thats Good. Answer is 2..Thanks
That looks correct. You could have kept the 4 factored out though.
Though I'm not sure what they want when they say 'what values of P'
@hashim12atd how about some appreciation with a medal then?
@wio know.. but the steps tell me that P must be even!
how so?
ok so we are ok till "a=odd"?
Yeah
\[P=(a/2+1/2)(a/2−1/2) \] one of these factors is inevitably even . So P is even. or P=2. a= even gets us no where, as it doesn't yield an integer
He said \(a\) is odd. Replace \(a\) with \(2n+1\)
so, from the third relation, we conclude, (odd/2+0.5) = some number and (odd/2-0.5) = another number should always give us an even
@hashim12atd and @wio me and my twisted schemas..
@electrokid Yeah whenever you claim something is even or odd, then use the \(2n\) and\(2n+1\) paradigm to sell it. I knew before hand even times even is even and odd times odd is odd, but that isn't always obvious.
how we award medals?
click best response.
@wio i know, i was trying a couple of ways and doing things mentally and lost track of penning them down
okay man..
where from are you? electrokid
Pakistan.
Join our real-time social learning platform and learn together with your friends!