The first element of the Collatz array is a random random integer. Let's call this number n.
Fantastic news! We've Found the answer you've been seeking!
Question:
The first element of the Collatz array is a random random integer. Let's call this number n. If n is double, then the next element of the array is n / 2, and single is 3n + 1. Although it can not be proved for all numbers, the series decreases to 1 after a certain number.
Sample
Number of starts: 15
15 46 23 70 35 106 53 160 80 40 20 10 5 16 8 4 2 1
number of staff = 18
In the first 2 million numbers, the number of starters with the longest chain (number of elements) is absent, and find a number of elements and write a C code on the screen.
Related Book For
John E Freunds Mathematical Statistics with Applications
ISBN: 978-0134995373
8th edition
Authors: Irwin Miller, Marylees Miller
Posted Date: