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!)
A359577 Dirichlet inverse of A085731, where A085731 is the greatest common divisor of n and the arithmetic derivative of n. 3
1, -1, -1, -3, -1, 1, -1, 3, -2, 1, -1, 3, -1, 1, 1, -3, -1, 2, -1, 3, 1, 1, -1, -3, -4, 1, -22, 3, -1, -1, -1, 3, 1, 1, 1, 6, -1, 1, 1, -3, -1, -1, -1, 3, 2, 1, -1, 3, -6, 4, 1, 3, -1, 22, 1, -3, 1, 1, -1, -3, -1, 1, 2, -3, 1, -1, -1, 3, 1, -1, -1, -6, -1, 1, 4, 3, 1, -1, -1, 3, 28, 1, -1, -3, 1, 1, 1, -3, -1, -2, 1, 3, 1, 1, 1, -3, -1, 6, 2, 12, -1, -1, -1, -3, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
Multiplicative because A085731 is.
LINKS
FORMULA
a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, d<n} A085731(n/d) * a(d).
MAPLE
g:= proc(n) option remember;
igcd(n, n*add(i[2]/i[1], i=ifactors(n)[2]))
end:
a:= proc(n) option remember; `if`(n=1, 1, -add(
a(d)*g(n/d), d=numtheory[divisors](n) minus {n}))
end:
seq(a(n), n=1..120); # Alois P. Heinz, Jan 07 2023
MATHEMATICA
d[0] = d[1] = 0; d[n_] := n * Plus @@ ((Last[#]/First[#]) & /@ FactorInteger[n]); s[n_] := GCD[n, d[n]]; a[1] = 1; a[n_] := a[n] = -DivisorSum[n, s[n/#]*a[#] &, # < n &]; Array[a, 100] (* Amiram Eldar, Jan 07 2023 *)
CROSSREFS
Cf. A003415, A085731, A038838 (positions of even terms), A122132 (of odd terms), A353627 (parity of terms).
Sequence in context: A050328 A191278 A363085 * A030401 A275888 A308166
KEYWORD
sign,mult
AUTHOR
Antti Karttunen, Jan 06 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 16 10:52 EDT 2024. Contains 372552 sequences. (Running on oeis4.)