OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n=1..1000
FORMULA
a(n) = Sum_{i=1..tau(n)} i*d_i, where {d_i}, i=1..tau(n) is the increasing sequence of divisors of n.
EXAMPLE
a(6) = max(1,1)+max(1,2)+max(1,3)+max(1,6)+max(2,2)+max(2,3)+max(2,6)+max(3,3)+max(3,6)+max(6,6)=38, or a(6) = dot_product(1,2,3,4)*(1,2,3,6)=1*1+2*2+3*3+4*6=38.
MAPLE
with(numtheory): seq(add(i*sort(convert(divisors(n), 'list'))[i], i=1..tau(n)), n=1..200);
PROG
(PARI) { for (n=1, 1000, d=divisors(n); a=sum(i=1, length(d), i*d[i]); write("b064944.txt", n, " ", a) ) } \\ Harry J. Smith, Sep 30 2009
(Haskell)
a064944 = sum . zipWith (*) [1..] . a027750_row'
-- Reinhard Zumkeller, Jul 14 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladeta Jovovic, Oct 28 2001
STATUS
approved