Find all prime numbers p, so that number 8p^2 + 1 would be prime.
What I have tried: prime numbers bigger than 3 (actually, I noticed that one answer for this question is 2) can be written as 6n +- 1, so p = 6n +- 1 substituting that to 8p^2 + 1 and removing all the brackets would get 288n^ + 96n + 9. However, how would I get a number out of this?
I think that it might have something to do with even numbers, since one answer is 2, but I can't prove anything with it, as I can see it now...
288n^2 + 96n + 9 can be simplified to 9(32n^2 +- 11n + 1), however that doesn't get me anywhere :/
Familiar with modular arithmetic ?
Just the basics.
That'll do
8p^2 + 1
What's the remainder when 8 is divided by 3 ?
2
Notice that 2 is same as -1 in modulus 3
Okay.
8p^2 + 1 is same as -p^2 + 1 in modulus 3
Yes.
Suppose p is not 3
But wait, wouldnt modulus affect + 1 as well?
So, just -p^2
-p^2 - 1
Who ate +1 ?
8p^2 + 1 is same as -p^2 + 1 in modulus 3
Hm, okay.
Oh! I was quite dumb ;( I was wondering why + 1 doesn't get modified, but 1 / 3 reminder is 1... Dumb me!
Maybe forget the modular arithmetic. Lets use anoyher method that doesn't use modular arithmetic
Okay, but after that show me modular way as well ;)
Okay sure
Let's start over
Suppose p is not 3 and consider all other primes in modulus 3
They will be of form 3k+1 or 3k+2
Yes ?
Yes
But 3k+2 is same as 3k-1 in modulus 3
So, 3k +- 1
So every prime greater than 3 will be of form 3k +- 1
Yes.
Look at the given expression 8p^2 + 1
Replace p by 3k +- 1
72k^2 + 48k + 9
3(25k^2 + 16k + 3)
That means there are no primes of such bigger than 3?
That's it. Oh wait, looka your initial attempt is also exactly same as this
Yes, I just failed to multiply everything right to check that 2 isn't the prime needed ;D And my initial attempt overlooked 5 as well, so your work is better.
But I wonder, why did you take 3, not some other number?
288n^ + 96n + 9 is divisible by 3
Oh don't ask why 3
Lucky guess? ;)
I'll give you my thought process, one moment
Because I think that if the problem was different, let's say that one of the primes that would be solution to such problem were higher, lets say 73. Then the attempt to solve with 3 would fail. :(
Few things to keep in mind before attempting the solution : 1) this is am academic problem. Not a Olympiad problem. So this is supposed to be easy and we shouldn't expect it to require a super computer or Einstein to solve this
Well, it's from a book that gives material to people who are going to participate in Olympiads. ;) (Though, it's very basic book)
2) if the common factor had been really 73, even Einstein couldn't have figured it out. This knowledge increases our confidence while solving homework problems
Ohk, you're preparing for Olympiads is it ?
Okay, I agree with this one ;) (Unless there would be an approach where an equation would be built. Perhaps it would be possible by looking at GCD? But I am going to agree with your statement that Einstein wouldn't solve it ;) ) Yes, I am ;)
Join our real-time social learning platform and learn together with your friends!