OFFSET
1,4
LINKS
FORMULA
EXAMPLE
a(12) = 19 subsets: {2}, {3}, {4}, {6}, {12}, {2, 4}, {2, 6}, {2, 12}, {3, 6}, {3, 12}, {4, 6}, {4, 12}, {6, 12}, {2, 4, 6}, {2, 4, 12}, {2, 6, 12}, {3, 6, 12}, {4, 6, 12} and {2, 4, 6, 12}.
MATHEMATICA
Table[-DivisorSum[n, MoebiusMu[n/#] (2^DivisorSigma[0, #] - 1) &, # < n &], {n, 80}]
PROG
(PARI) A339667(n) = -sumdiv(n, d, if(d==n, 0, moebius(n/d)*((2^numdiv(d))-1))); \\ Antti Karttunen, Dec 15 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 12 2020
STATUS
approved