OFFSET
0,4
COMMENTS
Also the number of strict integer partitions of n whose first differences are an anti-run, meaning there are no adjacent equal differences.
LINKS
Fausto A. C. Cariboni, Table of n, a(n) for n = 0..450
Wikipedia, Arithmetic progression
EXAMPLE
The a(1) = 1 through a(10) = 9 partitions (A = 10):
(1) (2) (3) (4) (5) (6) (7) (8) (9) (A)
(21) (31) (32) (42) (43) (53) (54) (64)
(41) (51) (52) (62) (63) (73)
(61) (71) (72) (82)
(421) (431) (81) (91)
(521) (621) (532)
(541)
(631)
(721)
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], UnsameQ@@#&&!MatchQ[Differences[#], {___, x_, x_, ___}]&]], {n, 0, 30}]
CROSSREFS
Anti-run compositions are counted by A003242.
Normal anti-runs of length n + 1 are counted by A005649.
Strict partitions with equal differences are A049980.
Partitions with equal differences are A049988.
The non-strict version is A238424.
The version for permutations is A295370.
Anti-run compositions are ranked by A333489.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 28 2020
STATUS
approved