Practical Numbers by croyal

n=0
l=[1,1,2,2,2,4,4,2,2,4,4,2,2,4,4,2,6,6,2,4,4,2,6,6,2,4,4,2,6,4,4,4,4,8,6,2,4,8,4,6,6,4,2,6,8,4,12,4,2,2,4,4,2,6,4,4,4,6,6,12,4,4,4,6,2,4,4,8,6,6,4,2,2,4,8,4,6,6,4,2,6,4,8,4,4,10,2,4,6,2,4,4,8,6,2,4,12,8,8,2,6,4,2,2,4,8,4,6,10,4]
for i in l:
 n+=i
 print n

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

download

return to the top page