|
|
A162907
|
|
Sum of all numbers from tau(n) to sigma(n).
|
|
1
|
|
|
1, 5, 9, 25, 20, 72, 35, 114, 88, 165, 77, 391, 104, 294, 294, 486, 170, 765, 209, 888, 522, 660, 299, 1802, 493, 897, 814, 1581, 464, 2600, 527, 2001, 1170, 1479, 1170, 4150, 740, 1824, 1590, 4067, 902, 4628, 989, 3555, 3066, 2622, 1175, 7705, 1650, 4356, 2622, 4836
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
For n=1, tau(1) = sigma(1) = 1, thus a(1) = 1.
For n=2, tau(2) = 2 & sigma(2) = 3, thus a(2) = 2 + 3 = 5
For n=3, tau(3) = 2 & sigma(3) = 4, thus a(3) = 2 + 3 + 4 = 9.
For n=4, tau(4) = 3 & sigma(4) = 7, thus a(4) = 3 + 4 + 5 + 6 + 7 = 25. (End)
|
|
MAPLE
|
# second Maple program:
with(numtheory):
a:= n-> ((u, o)-> (u+o)*(o-u+1)/2)(tau(n), sigma(n)):
|
|
MATHEMATICA
|
a[n_] := Range[DivisorSigma[0, n], DivisorSigma[1, n]] // Total;
|
|
PROG
|
(PARI)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Approximately half of the entries corrected by R. J. Mathar, Jul 21 2009
|
|
STATUS
|
approved
|
|
|
|