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”).

A295295
Sum of squarefree divisors of the powerful part of n: a(n) = A048250(A057521(n)).
7
1, 1, 1, 3, 1, 1, 1, 3, 4, 1, 1, 3, 1, 1, 1, 3, 1, 4, 1, 3, 1, 1, 1, 3, 6, 1, 4, 3, 1, 1, 1, 3, 1, 1, 1, 12, 1, 1, 1, 3, 1, 1, 1, 3, 4, 1, 1, 3, 8, 6, 1, 3, 1, 4, 1, 3, 1, 1, 1, 3, 1, 1, 4, 3, 1, 1, 1, 3, 1, 1, 1, 12, 1, 1, 6, 3, 1, 1, 1, 3, 4, 1, 1, 3, 1, 1, 1, 3, 1, 4, 1, 3, 1, 1, 1, 3, 1, 8, 4, 18, 1, 1, 1, 3, 1
OFFSET
1,4
COMMENTS
The sum of the squarefree divisors of n whose square divides n. - Amiram Eldar, Oct 13 2023
FORMULA
Multiplicative with a(p) = 1 and a(p^e) = (p+1) for e > 1.
a(n) = A048250(n) / A092261(n).
a(n) = Sum_{d^2|n} d * mu(d)^2. - Wesley Ivan Hurt, Feb 13 2022
From Amiram Eldar, Sep 18 2023: (Start)
Dirichlet g.f.: zeta(s) * zeta(2*s-1) / zeta(4*s-2).
Sum_{k=1..n} a(k) ~ (3*n/Pi^2) * (log(n) + 3*gamma - 1 - 4*zeta'(2)/zeta(2)), where gamma is Euler's constant (A001620). (End)
a(n) = A048250(n) - A344137(n). - Amiram Eldar, Oct 13 2023
MATHEMATICA
Array[DivisorSum[#/Denominator[#/Apply[Times, FactorInteger[#][[All, 1]]]^2], # &, SquareFreeQ] &, 105] (* Michael De Vlieger, Nov 26 2017, after Jean-François Alcover at A057521 *)
f[p_, e_] := If[e == 1, 1, p+1] ; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Sep 18 2023 *)
PROG
(Scheme, with memoization-macro definec)
(definec (A295295 n) (if (= 1 n) n (let ((p (A020639 n)) (e (A067029 n))) (* (if (= 1 e) 1 (+ 1 p)) (A295295 (A028234 n))))))
(PARI) a(n) = my(f=factor(n)); for (i=1, #f~, if (f[i, 2]==1, f[i, 1]=1)); sumdiv(factorback(f), d, d*issquarefree(d)); \\ Michel Marcus, Jan 29 2021
KEYWORD
nonn,easy,mult
AUTHOR
Antti Karttunen, Nov 25 2017
STATUS
approved