OFFSET
1,2
COMMENTS
The first sums of a nonempty sequence (a, b, c, d, ...) are (a+b, b+c, c+d, ...).
Conjecture: These are integer partitions of n whose least part is < 4.
Also the number of integer partitions of n whose b-based partial alternating sums are not all > 1 for any integer b. Here, the b-based partial alternating sums of a sequence q are given by pas(q,b)_j = (-1)^j * b + Sum_{i=1..j} (-1)^(i+j) * q_i.
EXAMPLE
The partition (5,4) is the first sums of (3,2,2) so is not counted under a(9).
The a(1) = 1 through a(6) = 10 partitions:
(1) (2) (3) (2,2) (3,2) (3,3)
(1,1) (2,1) (3,1) (4,1) (4,2)
(1,1,1) (2,1,1) (2,2,1) (5,1)
(1,1,1,1) (3,1,1) (2,2,2)
(2,1,1,1) (3,2,1)
(1,1,1,1,1) (4,1,1)
(2,2,1,1)
(3,1,1,1)
(2,1,1,1,1)
(1,1,1,1,1,1)
MATHEMATICA
pas[y_, k_]:=Table[(-1)^j*k+Sum[(-1)^(i-j)*y[[i]], {i, j}], {j, 0, Length[y]}];
agc[m_]:=Select[Table[pas[m, b], {b, 1, Max[m]}], Min@@#>1&];
Table[Length[Select[IntegerPartitions[n], agc[#]=={}&]], {n, 15}]
CROSSREFS
For a unique choice we appear to have A026797.
These partitions appear to have ranks A080671.
For more than one choice we appear to have A185325.
For compositions instead of partitions we have A391641.
A357213 counts compositions by sum of first sums.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Dec 30 2025
STATUS
approved
