Lagrange's Four-Square Theorem: 8n-1 Sum of 4 Squares?

  • Level: Graduate 
  • Thread starter Thread starter karpmage
  • Start date Start date
  • Tags Tags
    Squares Sum
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
5 replies · 3K views
karpmage
Messages
32
Reaction score
0
Lagrange's four-square theorem states that any natural number can be expressed as the sum of four integer squares. I've noticed that the first few values of 8n-1 can all only be expressed as a minimum of the sum of four squares. Is this true for all values of n? What's the proof behind it? Thanks.
 
Mathematics news on Phys.org
karpmage said:
Lagrange's four-square theorem states that any natural number can be expressed as the sum of four integer squares. I've noticed that the first few values of 8n-1 can all only be expressed as a minimum of the sum of four squares. Is this true for all values of n? What's the proof behind it? Thanks.

The possible values of squares modulo 8 are 0, 1 and 4. There's only one way to make 7 from 0, 1 and 4 using a maximum of 4 numbers.
 
By what i said i mean

7 = 2^2 + 1^2 + 1^2 + 1^2
15 = 3^2 + 2^2 + 1^2 + 1^2
23 = 3^2 + 3^2 + 2^2 + 1^2
31 = 3^2 + 3^2 + 3^2 + 2^2
etc.

i.e. The first few values of 8n-1 (The first 10 at least) can't be shown as a sum of less than four squares.

Not sure what you mean by modulo 8 and what-not, sorry. You might have to dumb it down a bit for me. What exactly are you trying to say?
 
willem2 said:
The possible values of squares modulo 8 are 0, 1 and 4. There's only one way to make 7 from 0, 1 and 4 using a maximum of 4 numbers.

Sorry, meant to quote you in previous post.
 
Think about clock work math. If it's 11 a.m. and add two more hours we get 1 p.m. You can view this as 11 mod 12 + 2 mod 12 = 1 mod 12. So what he's saying is that the values in mod 8 that are squared can only be 0, 1, and 4. So now if you consider 7 mod 8, you can only get that by adding 1 + 1 + 1 + 4. If you're not familiar with this method:

http://en.wikipedia.org/wiki/Modula...3osI9mtGGTpQGAAAABAEAADqRgAAgHAAAAAAAALgaAAA=
 
MarneMath said:
Think about clock work math. If it's 11 a.m. and add two more hours we get 1 p.m. You can view this as 11 mod 12 + 2 mod 12 = 1 mod 12. So what he's saying is that the values in mod 8 that are squared can only be 0, 1, and 4. So now if you consider 7 mod 8, you can only get that by adding 1 + 1 + 1 + 4. If you're not familiar with this method:

http://en.wikipedia.org/wiki/Modula...3osI9mtGGTpQGAAAABAEAADqRgAAgHAAAAAAAALgaAAA=

Ah, I remember now. This came up on a maths test I once did. Completely forgot about it though. Thanks for the help.