login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A297053
Sum of the larger parts of the partitions of n into two parts such that the smaller part does not divide the larger.
0
0, 0, 0, 0, 3, 0, 9, 5, 12, 13, 30, 7, 45, 38, 41, 43, 84, 48, 108, 67, 103, 124, 165, 78, 178, 185, 192, 175, 273, 162, 315, 247, 308, 343, 350, 244, 459, 440, 451, 360, 570, 411, 630, 535, 545, 670, 759, 496, 786, 718, 818, 787, 975, 768, 959, 834, 1042
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
Cf. A297024.
Sequence in context: A317825 A002346 A021327 * A167313 A104780 A176109
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Dec 24 2017
STATUS
approved