repl.it
@anonymous/

VisibleFlatGorilla

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
import math
from decimal import*
c=a=3
while 1:
	c+=2;b=Decimal(c*c-a*a).sqrt();i=int(b)
	if i==b>a>2>math.gcd(a,i):print(a);a=c