# Primes of the form $a^2+b^2+c^2$, $0<a<b<c$ [closed]

Are there results showing which prime numbers that can be expressed as the sum of three different integers greater than zero?

By the three square theorem of Legendre a natural number can be written as a square sum of three natural numbers if and only if it isn't of the form $$4^i(8j+7)$$. where $$i,j$$ are natural numbers.

Due to an answer to Conjecture: Any sufficiently big sum of three squares can be written as a square sum of three different natural numbers greater than zero there is a conjecture by Jeffrey Shallit:

A number is a sum of 3 squares, but not a sum of 3 distinct nonzero squares, if and only if it is of the form $$4^js$$, where $$j \ge 0$$ and

$$s \in$$
{1, 2, 3, 5, 6, 9, 10, 11, 13, 17, 18, 19, 22, 25, 27, 33, 34, 37, 43, 51, 57, 58, 67, 73, 82, 85, 97, 99, 102, 123, 130, 163, 177, 187, 193, 267, 627, 697}

So, if the conjecture by Shallit is true, then all primes not of the form $$8m+7$$ and not belonging to $$\{2, 3, 5, 11, 13, 17, 19, 37, 43, 67, 73, 97, 163, 187, 193\}$$ can be written as a square sum of three different non zero natural numbers.

## closed as off-topic by user21820, Shailesh, nmasanta, Lee David Chung Lin, The CountSep 3 at 0:02

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – user21820, Shailesh, nmasanta, Lee David Chung Lin, The Count
If this question can be reworded to fit the rules in the help center, please edit the question.

• What is your motivation to ask this question? Does it appear somewhere else? – Jungle Boy Aug 6 at 13:10
• @DavoodKhajehpour - Curiosity. – Lehs Aug 6 at 20:37
• Dear Lehs, Do you know the relation between this kind of numbers [numbers represented as the sum of 3 squares] and physics? I heard these numbers are related to the energy levels of atomic particles, but I am not sure. This comment tells something related. – Jungle Boy Aug 7 at 8:01
• Also, Long ago I asked 2 questions regarding this relation here & here. – Jungle Boy Aug 7 at 8:02
• @DavoodKhajehpour - No, I didn't know that. – Lehs Aug 8 at 8:39