OFFSET
1,2
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = n*{n - d(n) + 1} where d(n) = number of divisors of n.
MATHEMATICA
Table[n (n + 1 - DivisorSigma[0, n]), {n, 1, 51}] (* Ivan Neretin, May 25 2015 *)
PROG
(PARI) a(n) = n*(n - numdiv(n) + 1); \\ Michel Marcus, Sep 17 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Mar 22 2002
EXTENSIONS
Corrected and extended by Ray Chandler, Sep 29 2003
STATUS
approved