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!)
A357698 a(n) is the sum of the aliquot divisors of n that are cubefree. 2
0, 1, 1, 3, 1, 6, 1, 7, 4, 8, 1, 16, 1, 10, 9, 7, 1, 21, 1, 22, 11, 14, 1, 28, 6, 16, 13, 28, 1, 42, 1, 7, 15, 20, 13, 55, 1, 22, 17, 42, 1, 54, 1, 40, 33, 26, 1, 28, 8, 43, 21, 46, 1, 39, 17, 56, 23, 32, 1, 108, 1, 34, 41, 7, 19, 78, 1, 58, 27, 74, 1, 91, 1, 40 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = Sum_{d|n, d<n} A212793(d)*d.
a(n) = A073185(n) - (A212793(n)*n).
a(n) = 1 iff n is a prime.
Sum_{k=1..n} a(k) ~ c * n^2, where c = (zeta(2) - 1)/(2*zeta(3)) = 0.268262... .
EXAMPLE
The divisors of 16 that are cubefree are {1, 2, 4}, and their sum is a(16) = 1 + 2 + 4 = 7.
MATHEMATICA
f[p_, e_] := 1 + p + If[e == 1, 0, p^2]; a[1] = 0; a[n_] := Times @@ f @@@ (fct = FactorInteger[n]) - If[AllTrue[fct[[;; , 2]], # < 3 &], n, 0]; Array[a, 100]
PROG
(PARI) a(n) = {my(f = factor(n), s); s = prod(i=1, #f~, 1 + f[i, 1] + if(f[i, 2] == 1, 0, f[i, 1]^2)); if(n==1 || vecmax(f[, 2]) < 3, s -= n); s};
CROSSREFS
Sequence in context: A248029 A117552 A294886 * A069250 A294888 A364858
KEYWORD
nonn
AUTHOR
Amiram Eldar, Oct 10 2022
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 11 18:34 EDT 2024. Contains 372413 sequences. (Running on oeis4.)