

One form of   Pythagorean quadruples   is   (for positive integers   a,   b,   c,   and   d):



    a2   +   b2   +   c2     =     d2 


An example:

    22   +   32   +   62     =     72 
 which is:
    4    +   9    +   36     =     49 


Task

For positive integers up   2,200   (inclusive),   for all values of   a,  
b,   c,   and   d,

find   (and show here)   those values of   d   that   can't   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:   Pythagorean quadruple.


limite = 2200
s = 3
dim l(limite)
dim ladd(limite * limite * 2)
 
for x = 1 to limite
    x2 = x * x
    for y = x to limite
        ladd(x2 + y * y) = 1
    next y
next x
 
for x = 1 to limite
    s1 = s
    s = s + 2
    s2 = s
    for y = x +1 to limite
        if ladd(s1) = 1  l(y) = 1
        s1 = s1 + s2
        s2 = s2 + 2
    next y
next x
 
for x = 1 to limite
    if l(x) = 0  print str$(x), " ";
next x
print
end