Solve my assignment please!

Jan 26, 2021 at 9:57am
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 Jan 26, 2021 at 10:00am
Jan 26, 2021 at 10:22am
Jan 26, 2021 at 10:41am
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.