login
A341997
a(n) = A327936(A003415(n)).
7
1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 3, 2, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 1, 3, 2, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 6, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 6, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2
OFFSET
2,3
LINKS
FORMULA
a(n) = A327936(A003415(n)).
PROG
(PARI)
A003415(n) = {my(fac); if(n<1, 0, fac=factor(n); sum(i=1, matsize(fac)[1], n*fac[i, 2]/fac[i, 1]))}; \\ From A003415
A327936(n) = { my(f = factor(n)); for(k=1, #f~, f[k, 2] = (f[k, 2]>=f[k, 1])); factorback(f); };
A341997(n) = if(n<=1, 1, A327936(A003415(n)));
CROSSREFS
Cf. A327929 (positions of terms > 1), A341996, A341998, A341999.
Sequence in context: A277872 A161100 A342007 * A053543 A161099 A118663
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 28 2021
STATUS
approved