DISCLAIMER: If you do not know what 3x+1 is look it up. 1st step: enter the number when prompted. 2nd step: enter if the number is even or odd when promted. 3rd step: repeat if desired.