6 ms·
The rule is that if r_n is odd, r_{n+1} = 3 * r_n+1, so because of that condition, 3 * r_n+1 will always be even.
by mkl 7y ago
The rule is that if r_n is odd, r_{n+1} = 3 * r_n+1, so because of that condition, 3 * r_n+1 will always be even.
- deleted 7y ago[deleted]
- Grue3 7y agoYeah, I forgot that little fact. It should be (3*r_n + 1) / 2 then.