OFFSET
0,4
EXAMPLE
The partition (6,5,5,5,3,2) has maximal runs ((6,5),(5),(5),(3,2)), with lengths (2,1,1,2), so is not counted under a(26).
The partition (6,5,5,5,4,3,2) has maximal runs ((6,5),(5),(5,4,3,2)), with lengths (2,1,4), so is counted under a(30).
The a(1) = 1 through a(13) = 12 partitions:
1 2 3 4 5 6 7 8 9 A B C D
21 211 32 321 43 332 54 433 65 543 76
221 322 431 432 532 443 651 544
421 521 621 541 542 732 643
3211 3321 721 632 921 652
4321 821 6321 832
4322 43221 A21
5321 4432
43211 5431
7321
43321
432211
MATHEMATICA
Table[Length[Select[IntegerPartitions[n], UnsameQ@@Length/@Split[#, #2==#1-1&]&]], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jun 20 2025
STATUS
approved
