login
A334203
a(n) = A064097(A032742(n)).
3
0, 0, 0, 1, 0, 2, 0, 2, 2, 3, 0, 3, 0, 4, 3, 3, 0, 4, 0, 4, 4, 5, 0, 4, 3, 5, 4, 5, 0, 5, 0, 4, 5, 5, 4, 5, 0, 6, 5, 5, 0, 6, 0, 6, 5, 7, 0, 5, 4, 6, 5, 6, 0, 6, 5, 6, 6, 7, 0, 6, 0, 7, 6, 5, 5, 7, 0, 6, 7, 7, 0, 6, 0, 7, 6, 7, 5, 7, 0, 6, 6, 7, 0, 7, 5, 8, 7, 7, 0, 7, 5, 8, 7, 9, 6, 6, 0, 8, 7, 7, 0, 7, 0, 7, 7
OFFSET
1,6
LINKS
FORMULA
a(n) = A064097(A032742(n)) = A064097(n/A020639(n)).
PROG
(PARI)
A032742(n) = if(1==n, n, n/vecmin(factor(n)[, 1]));
A060681(n) = (n-if(1==n, n, n/vecmin(factor(n)[, 1])));
A064097(n) = if(1==n, 0, 1+A064097(A060681(n)));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 13 2020
STATUS
approved