Sisyphus Sequence by albanian_laundromat

p=[];r=2;m=1
for i in range(100):
    print(m)
    if m%2:
        while 1:
            if 0 in [r % q for q in p]:r+=1
            else:p.append(r);break
        m+=r
    else:m//=2

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page