The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A365170 The sum of divisors d of n such that gcd(d, n/d) is squarefree. 1
1, 3, 4, 7, 6, 12, 8, 15, 13, 18, 12, 28, 14, 24, 24, 27, 18, 39, 20, 42, 32, 36, 24, 60, 31, 42, 40, 56, 30, 72, 32, 51, 48, 54, 48, 91, 38, 60, 56, 90, 42, 96, 44, 84, 78, 72, 48, 108, 57, 93, 72, 98, 54, 120, 72, 120, 80, 90, 60, 168, 62, 96, 104, 99, 84, 144 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The number of these divisors is A252505(n).
LINKS
FORMULA
Multiplicative with a(p) = 1 + p, a(p^2) = 1 + p + p^2, and a(p^e) = (1 + p)*(1 + p^(e - 1)) if e >= 3.
a(n) >= A034448(n), with equality if and only if n is squarefree number (A005117).
a(n) <= A000203(n), with equality if and only if n is biquadratefree number (A046100).
Sum_{k=1..n} a(k) ~ c * n^2, where c = 315/(4*Pi^4) = A157292 / 2 = 0.808446... . - Amiram Eldar, Aug 25 2023
MATHEMATICA
f[p_, e_] := Switch[e, 1, 1 + p, 2, 1 + p + p^2, _, (1 + p)*(1 + p^(e - 1))]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
PROG
(PARI) a(n) = {my(f = factor(n), p , e); prod(i = 1, #f~, p = f[i, 1]; e = f[i, 2]; if(e == 1, 1 + p, if(e == 2, 1 + p + p^2, (1 + p)*(1 + p^(e - 1))))); }
CROSSREFS
Sequence in context: A366992 A365682 A074847 * A365174 A325317 A325316
KEYWORD
nonn,easy,mult
AUTHOR
Amiram Eldar, Aug 25 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 21:06 EDT 2024. Contains 372522 sequences. (Running on oeis4.)