for i in range(1,2000): a=i while a>5:a=sum(int(j)**2 for j in`a`) if a<2:print i
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page