greycat 1743040245 learn # a=703 b=19 i=0; while ((++i)); do a=$((a%2?a*3+1:a/2)); ((a==b)) && break; done; printf "\\$i\\$((i+1))\\n"