Hi All,(adsbygoogle = window.adsbygoogle || []).push({});

So I was just wondering if there is a formula for the number of ways a number can be written

as a sum of squares?(Without including negatives, zero or repeats). For example 5=2^2+1^2. (There is only one way for 5).

Second question along this line is: In how many ways can a number be written as a sum of primes(i.e a sum of two primes, three primes ).

Third Question: 10=2+3+5 Thus 10 can be written as a sum of maximum three prime numbers; no more. Is there such an upper bound for other numbers? I was doing this for

small numbers but would be interesting to see if there is some sort of pattern or theory

Thanks a lot

Abiyo

**Physics Forums - The Fusion of Science and Community**

# Sum of Squares, Distinct Primes

Have something to add?

- Similar discussions for: Sum of Squares, Distinct Primes

Loading...

**Physics Forums - The Fusion of Science and Community**