Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫  π  -¹ ² ³ °

You are not logged in.

## #1 2012-10-31 14:39:00

Johnathon bresly
Guest

### Four square theorem

Hi,I learnt about the lagrange's four square theorem,now I am curious about it, how do I find then a,b,c,d for n such that,n=a^2+b^2+c^2+d^2?

## #2 2012-10-31 14:57:10

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

### Re: Four square theorem

Hi;

As far as I know this is a computational problem. You can get the number of solutions but to determine what they are you will need a computer.

For instance the number of solutions to

with

is 3744

To give you an idea of the complexity of the problem please go here;

http://www.alpertron.com.ar/4SQUARES.HTM

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline