A373382 a(n) = gcd(A329697(n), A331410(n)), where A329697, A331410 give the number of iterations needed to reach a power of 2, when using the map n -> n-(n/p), or respectively, n -> n+(n/p), where p is the largest prime factor of n.
0, 0, 1, 0, 1, 1, 1, 0, 2, 1, 2, 1, 2, 1, 1, 0, 1, 2, 3, 1, 1, 2, 1, 1, 2, 2, 3, 1, 1, 1, 1, 0, 3, 1, 3, 2, 1, 3, 3, 1, 1, 1, 1, 2, 1, 1, 2, 1, 2, 2, 2, 2, 1, 3, 1, 1, 4, 1, 4, 1, 1, 1, 1, 0, 1, 3, 4, 1, 1, 3, 1, 2, 1, 1, 1, 3, 1, 3, 1, 1, 4, 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 4, 2, 1, 2, 3, 2, 4
Offset: 1
Keywords
Links
- Antti Karttunen, Table of n, a(n) for n = 1..100000
Comments