OFFSET
1,3
COMMENTS
The first four zeros after a(1) occur at n = 192, 288, 3645, 6075.
There are 1562 negative terms among the first 10000 terms.
Applying this function to the divisors of the first four terms of A324201 reveals the following pattern:
----------------------------------------------------------------------------------
A324201 divisors a(n) applied to each: Sum
9: [1, 3, 9] -> [0, 3, 9] 12 = 2*6
125: [1, 5, 25, 125] -> [0, 7, 21, 28] 56 = 2*28
161051: [1, 11, 121, 1331, 14641, 161051] -> [0, 31, 93, 124, 496, 248] 992 = 2*496
410338673: [1, 17, 289, 4913, 83521, 1419857, 24137569, 410338673]
-> [0, 127, 381, 508, 2032, 1016, 9144, 3048] 16256 = 2*8128
The second term (the first nonzero) of the latter list = A000668(n), and the sum is always twice the corresponding perfect number, which forces either it or at least many of its divisors to be present. For example, in the fourth case, although 8128 = A000396(4) itself is not present, we still have 127, 508, 1016 and 2032 in the list. See also A329644.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000 (based on Hans Havermann's factorization of A156552)
FORMULA
a(n) = 2*A297112(n) - A329644(n), and for n > 1, a(n) = 2^A297113(n) - A329644(n). - Antti Karttunen, Dec 08 2019
MATHEMATICA
Table[DivisorSum[n, MoebiusMu[n/#] If[# == 1, 0, DivisorSigma[1, Floor@ Total@ Flatten@ MapIndexed[#1 2^(#2 - 1) &, Flatten[Table[2^(PrimePi@ #1 - 1), {#2}] & @@@ FactorInteger@ #]]]] &], {n, 79}] (* Michael De Vlieger, Mar 11 2019 *)
PROG
CROSSREFS
KEYWORD
sign,changed
AUTHOR
Antti Karttunen, Mar 07 2019
STATUS
approved