Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (18 sloc) 0.391 kB
def gcd(a,b):
while b:
a,b = b,a%b
return a
i = 134043
while i<134044:
for x in xrange(i,i+4):
count = 0
firstbreak = False
for y in xrange(x+1,i+4):
print "Finding gcd(%d,%d) = %d"%(x,y,gcd(x,y))
if gcd(x,y) == 1:
count = count + 1
if count == 6:
break
i = i + 1
print i,
print i
Jump to Line
Something went wrong with that request. Please try again.