Please help me prove this statement about square numbers

  • Thread starter Thread starter haisydinh
  • Start date Start date
  • Tags Tags
    Numbers Square
Click For Summary
SUMMARY

The discussion revolves around proving that if a prime number \( p \) can be expressed as \( p^2 = a^2 + 2b^2 \), then it can also be represented as \( p = m^2 + 2n^2 \). The user explores various proof techniques, including indirect proofs and modular arithmetic, but struggles to find a definitive solution. They also discover that the prime constraint on \( p \) is significant, as demonstrated by a counterexample with the non-prime number 15. Ultimately, the conversation highlights the importance of the prime condition in establishing the proof.

PREREQUISITES
  • Understanding of quadratic forms in number theory
  • Familiarity with prime numbers and their properties
  • Knowledge of proof techniques, including direct and indirect proofs
  • Basic concepts of modular arithmetic
NEXT STEPS
  • Research quadratic forms and their applications in number theory
  • Study the properties of prime numbers in relation to quadratic equations
  • Explore advanced proof techniques in mathematics, focusing on indirect proofs
  • Investigate the role of modular arithmetic in number theory proofs
USEFUL FOR

Mathematicians, students of number theory, and anyone interested in the properties of prime numbers and quadratic forms.

haisydinh
Messages
24
Reaction score
0
Missing template due to originally being placed in different forum
Hi, a friend of mine gave me a math problem which I've spent hours trying to find different methods to solve. But none of them work and I'm now out of ideas. The problem goes like this:
Given that ##p^2 ## can be written in the form ##p^2 = a^2 + 2b^2## (where a & b are integers, and 'p' is a prime number), then prove that the prime number 'p' can also be written in the form ##p = m^2 + 2n^2## (where m & n are also integers)

So for example, ##17^2 = 1^2 + 2(12^2) ⇒ 17 = 3^2 + 2(2^2) ## or ## 3^2 = 1^2 + 2(2^2) ⇒ 3 = 1^2 + 2(1^2)##
I also realized that this statement that we have to prove might also hold for all non-prime numbers as well. I found several examples that show that this is true:
##9^2 = 3^2 + 2(6^2) ⇒ 9 = 1^2 + 2(2^2)## or ## 12^2 = 4^2 + 2(8^2) ⇒ 12 = 2^2 + 2(2^2) ##
So perhaps the information that 'p' is a prime plays no role whatsoever in the final proof. However, I'm not really sure about this.
I've tried many methods so far, from indirect proofs (contradiction & contrapostive) to direct proofs, but none of them work. I've also looked at modular arithmetic, but that's getting nowhere. I'm really desperate for help at this moment. Any inputs from you guys are greatly appreciated, because my friend and I have been stuck for weeks on this question!
Thanks a lot in advance!
 
Physics news on Phys.org
I guess 0 does not count as integer.

Looking for possible values of p2=a2+2b2 (without the prime constraint), I found a general class of 9n2 = n2 + 2 (2n)2, but only the first value in this class gives a prime p.

All classes should be found like that:
(n-1)2 + 4*n = (n+1)2 where 2n has to be a square.
(n-2)2 + 8*n = (n+2)2 where 8n has to be a square.
...

How to prove that those values then have a similar sum without the square (or, equivalently, fall into one of those classes as well)? That's the interesting problem.

Edit: that pattern leads to many values which do not allow to get prime numbers. Only odd squares and twice square roots can potentially lead to primes (e. g. 8=2*4, 9, 18=2*9, ...). I guess that is a key observation.

Edit2: Indeed it is, and another step leads to the proof. It is important to require p to be prime for that proof, although I don't have a counterexample for a non-prime right now.

Edit3: and here is the counterexample for non-prime numbers: 152 = 52 + 2*102, but there is no possible sum for 15=m2+2n2.

Edit 4: There is a very compact proof. A nice puzzle :).
 
Last edited:

Similar threads

Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
15
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K