login
A076663
a(n) = sum of sigma(e) where e ranges over all non-divisors of n that are between 1 and n.
1
0, 0, 3, 4, 14, 13, 32, 30, 51, 59, 86, 72, 126, 129, 154, 163, 219, 205, 276, 262, 326, 355, 406, 361, 484, 504, 546, 561, 659, 622, 761, 737, 840, 883, 944, 900, 1097, 1112, 1177, 1160, 1341, 1300, 1479, 1465, 1560, 1658, 1757, 1645, 1921, 1928, 2057, 2085
OFFSET
1,3
LINKS
FORMULA
a(n) = A024916(n) - A007429(n). - Robert Israel, Oct 27 2024
MAPLE
N:= 1000: # for a(1) .. a(N)
S:= [seq(numtheory:-sigma(n), n=1..N)]:
SS:= ListTools:-PartialSums(S):
seq(SS[n] - add(S[d], d = numtheory:-divisors(n)), n=1..N); # Robert Israel, Oct 27 2024
MATHEMATICA
f[n_] := Module[{s, i}, s = 0; For[i = 1, i < n, i++, If[Mod[n, i] != 0, s = s + DivisorSigma[1, i]]]; s]; Table[f[i], {i, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Oct 24 2002
STATUS
approved