OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = n - 2*A049820(n). - Wesley Ivan Hurt, Feb 17 2024
PROG
(PARI) a(n) = {2*numdiv(n) - n} \\ Andrew Howroyd, Feb 02 2020
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Jan 12 2008
EXTENSIONS
Offset corrected and terms a(21) and beyond from Andrew Howroyd, Feb 02 2020
STATUS
approved