Using // and / in the following code (location marked in-code), I get different answers:
x = 2**(221) + 1
count = 0
while x != 1:
if x%2 == 0:
x = x//2 # HERE: In this line - case (1) x = x//2, case(2) x = x/2
count += 1
elif x%2 == 1:
x = 3*x + 1
count += 1
count
In case (1), count = 1754. In case (2), count = 229. Why are the outputs different??