MHB P is the sum of 2 consecutive squares

  • Thread starter Thread starter alexmahone
  • Start date Start date
  • Tags Tags
    Squares Sum
AI Thread Summary
An odd prime \( p \) can be expressed as the sum of two consecutive squares, \( p = a^2 + (a+1)^2 \), if and only if it takes the form \( p = \frac{u^2 + 1}{2} \). The derivation shows that \( p = 2a^2 + 2a + 1 \) leads to \( 2p = (2a + 1)^2 + 1 \). This formulation holds true regardless of whether \( p \) is prime, as demonstrated with the example of \( a = 6 \), yielding \( p = 85 \), which is not prime. The conclusion is that the relationship between odd primes and sums of consecutive squares is valid under specific conditions, but the prime status of \( p \) is not a requirement. The discussion confirms the mathematical validity of the derived expressions.
alexmahone
Messages
303
Reaction score
0
Let $p$ be an odd prime.

Prove that $p$ is the sum of 2 consecutive squares i.e. $p=a^2+(a+1)^2$ if and only if $p$ has the form $p=\dfrac{u^2+1}{2}$.
 
Mathematics news on Phys.org
I think I got it.

$p=a^2+(a+1)^2=2a^2+2a+1$

$2p=4a^2+4a+2=(2a+1)^2+1$

$p=\dfrac{(2a+1)^2+1}{2}=\dfrac{u^2+1}{2}$ where $u=2a+1$

Could someone confirm? I didn't use the fact that $p$ is prime.
 
Alexmahone said:
I think I got it.

$p=a^2+(a+1)^2=2a^2+2a+1$

$2p=4a^2+4a+2=(2a+1)^2+1$

$p=\dfrac{(2a+1)^2+1}{2}=\dfrac{u^2+1}{2}$ where $u=2a+1$

Could someone confirm? I didn't use the fact that $p$ is prime.

above is true whether p is prime or not as you proved it

as an example a= 6

$p = a^2 + (a+1)^2 = 6^2+7^2 = 85 = \dfrac{1}{2}(13^2+1)$ and 85 is not prime
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top