Take any whole number greater than one.
1. If the number is odd, multiply it by three and add one.
2. If it is even divide it by two.
2a. If the result is still even, continue to divide by two until the result is odd.
3. Continue steps 1 and 2 until you get the same number twice.
[For example starting with 9 -> 28 -> 14 -> 7 which is considered one iteration. The next iteration brings this to 11.]
What number(s) does this process terminate at?
What starting value less than 200 takes the most iterations to terminate?
|
Subject |
Author |
Date |
| re: any suggestions? | Hugo | 2006-02-04 14:53:31 |
| any suggestions? | Justin | 2006-02-03 23:11:23 |
| *sniff* | Hugo | 2006-02-03 21:05:03 |
| *sniff* (20 billion and no further) (starts crying) | Justin | 2006-02-03 19:05:00 |
| 14 billion and climbing | Justin | 2006-01-24 11:04:28 |
| Nothing better to do (Up to 1 billion) | Justin | 2006-01-21 14:31:03 |
| Sick of re(...), but here you go | Justin | 2006-01-20 23:45:57 |
| re(6): Going further (520,000,000+) | Justin | 2006-01-20 13:44:27 |
| Interesting . . . . . . . . | Justin | 2006-01-20 13:41:34 |
| re(5): Going further (520,000,000+) | Hugo | 2006-01-20 13:04:51 |
| re(4): Going further (520,000,000+) | Justin | 2006-01-20 12:58:41 |
| re(3): Going further (520,000,000+) | Hugo | 2006-01-20 12:54:45 |
| re(2): Going further (520,000,000+) | Justin | 2006-01-20 09:05:18 |
| re: Going further (520,000,000+) | Hugo | 2006-01-19 17:24:25 |
| Going further (520,000,000+) | Justin | 2006-01-19 14:01:40 |
| re: Answer | Justin | 2006-01-19 13:49:01 |
| re: Collatz Conjecture | goFish | 2006-01-14 02:20:05 |
| Answer | Joe | 2006-01-13 20:18:47 |
| Collatz Conjecture | The riddler | 2006-01-13 19:04:03 |
| A Contribution | goFish | 2006-01-13 18:52:17 |
| re: interesting property | pcbouhid | 2006-01-13 16:11:34 |
| interesting property | Bob Smith | 2006-01-13 15:36:31 |
| Termination | Dan | 2006-01-13 15:33:28 |