OFFSET
1,2
COMMENTS
Total area of all distinct nonsquare rectangles that can be made whose side lengths are divisors of n and whose length is an integer multiple of its width.
FORMULA
a(n) = Sum_{d1|n, d2|n, d1|d2, d1<d2} d1*d2.
a(n) = n if and only if n is prime. - Bernard Schott, Aug 24 2020
MATHEMATICA
Table[Sum[Sum[(i*k) (1 - Ceiling[k/i] + Floor[k/i])*(1 - Ceiling[n/k] + Floor[n/k]) (1 - Ceiling[n/i] + Floor[n/i]), {i, k - 1}], {k, n}], {n, 80}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Aug 23 2020
STATUS
approved