3x+1 means if the number is odd it multiplies it by 3 and adds 1 if it is even it decides it by 2 it goes until the number is 1 if the number says infinity or says e then a number at the end then stop the project because the number you entered is too high.