p = a2 + b2 ⇔ p ≡ 1 (mod 4),
where a and b are some positive integers. Such primes are called Pythagorean primes.
If you are interested, the proof can be found in any elementary number theory textbooks.
| ( 3 , 4 , 5 ) | ( 5, 12, 13) | ( 7, 24, 25) | ( 8, 15, 17) |
| ( 9, 40, 41) | (11, 60, 61) | (12, 35, 37) | (13, 84, 85) |
| (16, 63, 65) | (20, 21, 29) | (28, 45, 53) | (33, 56, 65) |
| (36, 77, 85) | (39, 80, 89) | (48, 55, 73) | (65, 72, 97) |