EKG Sequence by twobit

m=i=-1
l=range(150)
while 1:
 m+=1;b=l[m];a=i
 while b:b,a=a%b,b
 if~-a:i=l.pop(m);m=0;print i or 1

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top