OFFSET
1,4
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
FORMULA
If A001221(n) <= 1, a(n) = A067029(n) [i.e., when n is a prime power, p^k, a(n) = k], otherwise a(n) = a(A051119(n)) ^ A071178(n). - Antti Karttunen, Aug 27 2017
EXAMPLE
a(108)= a((2^2)*(3^3)) = 2^3 = 8.
a(75) = a((3^1)*(5^2)) = 1^2 = 1.
For n = 300 = 2^2 * 3^1 * 5^2 we have a(300) = (2^1)^2 = 4. - Antti Karttunen, Aug 27 2017
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Sam Alexander, Oct 19 2003
EXTENSIONS
Term a(1) = 0 prepended by Antti Karttunen, Aug 27 2017
STATUS
approved