can anyone p/z help me with this i am suppose to create a program that investigates conjecture. the question is as follows. Investigate the sequence of numbers produced when a number is halved if even, or multiplied by 3 and then increased by 1 if the number is odd.

Example:

Take 7 as the starting point. Then

7 = 7 x 3 + 1 = 22

22 = 22/2 = 11

11 = 11 x 3 + 1 = 34

34 = 34/2 = 17

. . .

Continue the above sequence until it reaches 1 and then investigate the process with other starting points:'(