OFFSET
1,2
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
PrimeFan, Listing of Esoteric Integer Sequences.
FORMULA
a(n) = A065387(n) - n. - Altug Alkan, Sep 30 2017
Sum_{k=1..n} a(k) = c * n^2 / 2 + O(n*log(n)), where c = 6/Pi^2 + Pi^2/6 - 1 = 1.252861... . - Amiram Eldar, Dec 08 2023
MATHEMATICA
Table[(Plus @@ Divisors[n]) - (n - EulerPhi[n]), {n, 50}]
PROG
(PARI) a(n) = sigma(n) + eulerphi(n) - n; \\ Altug Alkan, Sep 30 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Mar 05 2012
STATUS
approved