论文部分内容阅读
对一个正整数作如下操作:如果是偶数则除以2;如果是奇数则加1,如此
Do one of the following for a positive integer: divide by 2 if it is an even number, add 1 if it is an odd number,