Collatz Problem by JJeep

x=input()\x0d
while x>1:print x;x=3*x+1 if x%2 else x/2\x0d
print 1\x0d

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

download

return top