Solve my assignment please!

Make a sequence of number from 3n+1. If one of the sequence got even number then make it half from the previous sequence number.
Repeat process from before until the final score got "1".
Show all sequences with space, not " + "/" Plus ".

Thanks in advance.
Last edited on
and what part of this are you having difficulty with? Can you obtain n? Can you code as loop? What have you done so far? Post your current code so we can advise.
Topic archived. No new replies allowed.