login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A327326
a(n) = A006218(n) - A005187(n).
1
0, 0, 0, 1, 1, 2, 4, 5, 5, 7, 9, 10, 13, 14, 16, 19, 19, 20, 24, 25, 28, 31, 33, 34, 38, 40, 42, 45, 48, 49, 55, 56, 56, 59, 61, 64, 70, 71, 73, 76, 80, 81, 87, 88, 91, 96, 98, 99, 104, 106, 110, 113, 116, 117, 123, 126, 130, 133, 135, 136, 145, 146, 148, 153, 153, 156, 162, 163, 166, 169, 175, 176, 184
OFFSET
0,6
COMMENTS
Also, 0 together with the partial sums of A326987.
FORMULA
a(n) ~ n * (log(n) + 2*gamma - 3), where gamma is Euler's constant (A001620). - Amiram Eldar, Apr 18 2024
MATHEMATICA
With[{nmax = 100}, Join[{0}, Accumulate[Table[DivisorSigma[0, n], {n, 1, nmax}]]] - Table[2*n - DigitCount[n, 2, 1], {n, 0, nmax}]] (* Amiram Eldar, Apr 18 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Sep 14 2019
STATUS
approved