OFFSET
1,6
COMMENTS
a(n) = 0 if n is prime, otherwise >= 0; first part of formula provides estimation of sigma(n).
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
EXAMPLE
n = 4: tau(4) = 3, (3*(4+1)/2) - 7 = 0.5 so a(4) = 0;
n = 12: tau(12) = 6, (6*(12+1)/2) - 28 = 39 - 28 = 11 = a(12).
PROG
(PARI) { for (n=1, 1000, a = numdiv(n)*(n + 1)\2 - sigma(n); write("b063749.txt", n, " ", a) ) } \\ Harry J. Smith, Aug 29 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Aug 14 2001
STATUS
approved