OFFSET
1,2
COMMENTS
The first sums of a nonempty sequence (a, b, c, d, ...) are (a+b, b+c, c+d, ...).
EXAMPLE
The partition (5,3,3,1) has first sums (8,6,4), so (8,6,4) is counted under a(12). For this conclusion we could also have used (4,4,2,2).
The partitions (3,3,1) and (4,2,2) both have first sums (6,4), so (6,4) is counted under both a(7) and a(8).
The a(1) = 1 through a(7) = 13 partitions:
() () () () () () ()
(2) (3) (4) (5) (6) (7)
(2,2) (3,2) (4,2) (4,4) (5,4)
(2,2,2) (4,3) (5,2) (6,2)
(3,2,2) (5,3) (6,3)
(2,2,2,2) (4,2,2) (6,4)
(4,3,2) (4,4,3)
(3,2,2,2) (5,2,2)
(2,2,2,2,2) (5,3,2)
(4,2,2,2)
(4,3,2,2)
(3,2,2,2,2)
(2,2,2,2,2,2)
MATHEMATICA
firsums[c_]:=Table[c[[i]]+c[[i+1]], {i, Length[c]-1}];
Table[Length[Union[firsums/@IntegerPartitions[n]]], {n, 15}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Nov 13 2025
STATUS
approved
