OFFSET
1,5
FORMULA
a(n) = Sum_{i=1..floor(n/2)} (n-i) * (1 - (floor(n/i) - floor((n-1)/i))).
EXAMPLE
a(10) = 13; the partitions of 10 into two parts are (9,1), (8,2), (7,3), (6,4) and (5,5). The sum of the larger parts of these partitions such that the smaller part does not divide the larger is then 7 + 6 = 13.
MATHEMATICA
Table[Sum[(n - i) (1 - (Floor[n/i] - Floor[(n - 1)/i])), {i, Floor[n/2]}], {n, 80}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Dec 24 2017
STATUS
approved