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

A365347
The sum of divisors of the smallest number whose square is divisible by n.
3
1, 3, 4, 3, 6, 12, 8, 7, 4, 18, 12, 12, 14, 24, 24, 7, 18, 12, 20, 18, 32, 36, 24, 28, 6, 42, 13, 24, 30, 72, 32, 15, 48, 54, 48, 12, 38, 60, 56, 42, 42, 96, 44, 36, 24, 72, 48, 28, 8, 18, 72, 42, 54, 39, 72, 56, 80, 90, 60, 72, 62, 96, 32, 15, 84, 144, 68, 54
OFFSET
1,2
COMMENTS
The number of divisors of the smallest number whose square is divisible by n is A322483(n).
The sum of divisors of the smallest square divisible by n is A365346(n).
LINKS
FORMULA
a(n) = A000203(A019554(n)).
Multiplicative with a(p^e) = (p^(e + 1 + (e mod 2)) - 1)/(p - 1).
Sum_{k=1..n} a(k) ~ c * n^2, where c = (1/2) * zeta(3) * Product_{p prime} (1 - 1/(p^2*(p+1))) = (1/2) * A002117 * A065465 = 0.529814898136... .
MATHEMATICA
f[p_, e_] := (p^((e + Mod[e, 2])/2 + 1) - 1)/(p - 1); a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
PROG
(PARI) a(n) = {my(f = factor(n)); prod(i = 1, #f~, (f[i, 1]^((f[i, 2] + f[i, 2]%2)/2 + 1) - 1)/(f[i, 1] - 1)); }
(PARI) a(n) = sigma(n/core(n, 1)[2]); \\ Michel Marcus, Sep 02 2023
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
Amiram Eldar, Sep 02 2023
STATUS
approved