login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A341998
Arithmetic derivative of n divided by its largest squarefree divisor: a(n) = A003557(A003415(n)).
5
1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 8, 1, 3, 4, 16, 1, 1, 1, 4, 1, 1, 1, 2, 1, 1, 9, 16, 1, 1, 1, 8, 1, 1, 2, 2, 1, 1, 8, 2, 1, 1, 1, 8, 1, 5, 1, 8, 1, 3, 2, 4, 1, 27, 8, 2, 1, 1, 1, 2, 1, 1, 1, 32, 3, 1, 1, 12, 1, 1, 1, 2, 1, 1, 1, 8, 3, 1, 1, 8, 18, 1, 1, 2, 1, 3, 16, 2, 1, 1, 2, 16, 1, 7, 4, 8, 1, 1, 5, 2, 1, 1, 1, 2, 1
OFFSET
2,3
FORMULA
a(n) = A003557(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
A003557(n) = { my(f=factor(n)); for (i=1, #f~, f[i, 2] = f[i, 2]-1); factorback(f); }; \\ From A003557
A341998(n) = if(n<=1, 1, A003557(A003415(n)));
CROSSREFS
Cf. A328393 (positions of ones), A328303 (after its two initial terms, gives the positions of terms > 1).
Sequence in context: A211987 A165983 A300719 * A083894 A128257 A198254
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 28 2021
STATUS
approved

  NODES
orte 1
see 1
Story 1