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!)
A353961 a(n) = Sum_{d|n} d' * (-1)^(d'), where d' is the arithmetic derivative of d (A003415). 0
0, -1, -1, 3, -1, -7, -1, 15, 5, -9, -1, 13, -1, -11, 6, 47, -1, -22, -1, 19, 8, -15, -1, 69, 9, -17, -22, 25, -1, -38, -1, 127, 12, -21, 10, 58, -1, -23, 14, 99, -1, -48, -1, 37, -27, -27, -1, 213, 13, -44, 18, 43, -1, -130, 14, 129, 20, -33, -1, 98, -1, -35, -37, 319, 16, -68 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
MATHEMATICA
d[1] = 0; d[n_] := n * Plus @@ ((Last[#]/First[#]) & /@ FactorInteger[n]); a[n_] := DivisorSum[n, d[#] * (-1)^d[#] &]; Array[a, 100] (* Amiram Eldar, May 12 2022 *)
PROG
(PARI) ad(n) = vecsum([n/f[1]*f[2]|f<-factor(n+!n)~]); \\ A003415
a(n) = sumdiv(n, d, my(dd=ad(d)); dd*(-1)^dd); \\ Michel Marcus, May 13 2022
CROSSREFS
Cf. A003415 (n').
Sequence in context: A094024 A297172 A329034 * A290678 A290422 A352402
KEYWORD
sign
AUTHOR
Wesley Ivan Hurt, May 12 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 August 24 04:58 EDT 2024. Contains 375396 sequences. (Running on oeis4.)