A006530 by

x=range(101)
for i in range(1,101):
    if i!=1:
        x[i::i]=100/i*[x[i]]
    print x[i]

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

download

return to the top page