First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Update:

i=7
n=2
for n in range(2,100):
    i=i+gcd(n,i)
    print i