A280801 Least k > 0 such that (2*n)^k is in A002202, or 0 if no such k exists.
1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 4, 1, 3, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 5, 1, 1, 2, 1, 1, 2, 3, 1, 1, 1, 1, 15, 1, 2, 1, 2, 1, 3, 1, 1, 1, 1, 1, 1, 1, 2, 1, 3, 1, 7, 2, 1, 1, 1, 1, 2, 1, 1, 1, 3, 1, 2, 1, 1, 3, 3, 1, 8, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 4, 1, 2, 2, 1, 1, 4, 1, 1, 1, 17, 1, 2, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 2, 1, 2, 2, 1, 1, 2, 5, 2, 2, 1, 1, 4, 1, 3
Offset: 1
Keywords
Examples
a(43) = 15 because (43*2)^k is not in A002202 for 0 < k < 15 and 86^15 = 104106241746467411129608011776 is in A002202.
Links
- Giovanni Resta, Table of n, a(n) for n = 1..1000
Programs
-
PARI
a(n) = {my(k = 1); while (!istotient((2*n)^k), k++); k; }
Comments