login
A322813
a(n) = A001227(A122111(n)).
7
1, 1, 1, 2, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 1, 4, 1, 2, 3, 2, 1, 2, 4, 2, 3, 2, 1, 4, 1, 2, 3, 2, 4, 4, 1, 2, 3, 2, 1, 4, 1, 2, 3, 2, 1, 2, 5, 6, 3, 2, 1, 4, 4, 2, 3, 2, 1, 4, 1, 2, 3, 2, 4, 4, 1, 2, 3, 6, 1, 4, 1, 2, 6, 2, 5, 4, 1, 2, 3, 2, 1, 4, 4, 2, 3, 2, 1, 4, 5, 2, 3, 2, 4, 2, 1, 8, 3, 6, 1, 4, 1, 2, 6
OFFSET
1,4
FORMULA
a(n) = A001227(A122111(n)).
PROG
(PARI)
A001227(n) = numdiv(n>>valuation(n, 2));
A064989(n) = {my(f); f = factor(n); if((n>1 && f[1, 1]==2), f[1, 2] = 0); for (i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f)};
A122111(n) = if(1==n, n, prime(bigomega(n))*A122111(A064989(n)));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 27 2018
STATUS
approved