100

Problem ID: 100

Hello there and welcome to uDebug!

If you're solving 100 - The 3n + 1 Problem and clicked on "Debug" on UVa Online Judge and landed up on this page, we're very excited to have you. On uDebug, you can select a problem you’ve coded up a solution for, provide your input, and get the accepted (correct) output.

Check out the following video for more details.

If you need help on solving the problem refer to the hints section.

As for the problem the limit on input numbers i and j is 1 000 000 (not 10 000 as it states in the problem description).

See also: SPOJ PROBTNPO