the problem i have is that it's just giving me the first number of the sequence
not the actual sequence
--
https://mail.python.org/mailman/listinfo/python-list
Coming back to the second question
"The collatz process is as follows. Take a positive integer n greater than 1.
while n is greater than 1 repeat the following; if N is even halve it and if N
is odd multiply it by 3 and add 1. The (Unsolved) collatz conjecture is that
this process always termi
On Tuesday, November 19, 2013 6:40:18 PM UTC, bradleyb...@gmail.com wrote:
> Hi,
>
>
>
> A Friend is doing maths in University and has had some coursework to do with
> python.
>
>
>
> The question is
>
>
>
> "Write a program that calculates how many positive integers less than N are
> n
Hi,
A Friend is doing maths in University and has had some coursework to do with
python.
The question is
"Write a program that calculates how many positive integers less than N are not
divisible by 2,3 or 5. The user should be prompted to supply the Number N.
Demonstrate your program output