摘要:
The 3n+1 problemConsider the following algorithm to generate a sequence of numbers. Start with an integer n. If n is even, divide by 2. If n is odd, multiply by 3 and add 1. Repeat this process with the new value of n, terminating when n = 1. For example, the following sequence of numbers will be ge 阅读全文
posted @ 2011-10-23 17:01
mtry
阅读(646)
评论(0)
推荐(0)