OFFSET
1,2
PROG
(Python)
import math
for i in range(1<<16):
s = (i*i) ^ ((i+1)*(i+1))
t = int(math.sqrt(s))
if s == t*t:
print(str(i), end=', ')
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Alex Ratushnyak, Mar 27 2013
STATUS
approved