RE: Post making contest
07-17-2016, 04:54 AM
Define f(x)= 3x+1 if x is odd, and x/2 if x is even. Given any positive integer N, the sequence N, f(N), f(f(N)), ... will eventually become periodic, specifically cycling between 4, 2, 1.