Question: I keep getting errors whilst running it in a terminal and I cannot see where I am going wrong. Can you help me with the
I keep getting errors whilst running it in a terminal and I cannot see where I am going wrong. Can you help me with the following: (In language C. ) If we say that p1 can be any whole number. Thus is it possible that you then can make a sequence using the following rule below:

Colllatz Conjecture says that for some n we will have Pn = 1. So write a program that reads p1 and then finds the first value n 1 where Pn = 1. Please include comments so I can follow. Thanks
Pn+1 = pn/2 3an +1 if if Pn is even pn is odd
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
