Define a sequence a_i as follows: a_1=181 and for i \geq 2, a_i=a_{i-1}^2-1 if a_{i-1} is odd and a_i=a_{i-1} / 2 if a_{i-1} is even. Find the least i such that a_i=0.
Define a sequence a_i as follows: a_1=181 and for i \geq 2, a_i=a_{i-1}^2-1 if a_{i-1} is odd and a_i=a_{i-1} / 2 if a_{i-1} is even. Find the least i such that a_i=0.