Coding challenge

Write some code to find all pairs $(x,y)$ of positive integers from 1..100 that satisfy $|x^2-xy-y^2|=1$. (Ref: Engel, p. 13.)

Type your code here:


Lua reference

See your results here: