34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
One form of '''Pythagorean quadruples''' is (for positive integers '''a''', '''b''', '''c''', and '''d'''):
|
|
|
|
|
|
:::::::: <big><big> a<sup>2</sup> + b<sup>2</sup> + c<sup>2</sup> = d<sup>2</sup> </big></big>
|
|
|
|
|
|
An example:
|
|
|
|
:::::::: <big><big> 2<sup>2</sup> + 3<sup>2</sup> + 6<sup>2</sup> = 7<sup>2</sup> </big></big>
|
|
|
|
::::: which is:
|
|
|
|
:::::::: <big><big> 4 + 9 + 36 = 49 </big></big>
|
|
|
|
|
|
;Task:
|
|
|
|
For positive integers up '''2,200''' (inclusive), for all values of '''a''',
|
|
'''b''', '''c''', and '''d''',
|
|
<br>find (and show here) those values of '''d''' that ''<u>can't</u>'' be represented.
|
|
|
|
Show the values of '''d''' on one line of output (optionally with a title).
|
|
|
|
|
|
;Related tasks:
|
|
* [[Euler's sum of powers conjecture]].
|
|
* [[Pythagorean triples]].
|
|
|
|
|
|
;Reference:
|
|
:* the Wikipedia article: [https://en.wikipedia.org/wiki/Pythagorean_quadruple Pythagorean quadruple].
|
|
<br><br>
|
|
|