[Programming Challenge] 1.6.1 The 3n + 1 Problem 1.6 Problems1.6.1 The 3n + 1 ProblemPC/UVa IDs: 110101/100, Popularity: A, Success rate: low Level: 1 Consider the following algorithm to generate a sequence of numbers. Start with aninteger n. If n is even, divide by 2. If n is odd, multiply by 3 and add 1. Repeat thisprocess with the new value of n, terminating when n = 1. For example, the followingsequence of numbers will be generated for n =.. 더보기 이전 1 ··· 8 9 10 11 다음