press space to reset the whole process a^2+b^2=c^2 enter any number and it will generate a Pythagorean pair.
any number m,n. a=2mn b=m^2-n^2 c=m^2+n^2