login
A240873
Number of partitions p of n into distinct parts such that max(p) = 5 + min(p).
3
0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 1, 2, 3, 3, 3, 4, 4, 4, 5, 4, 3, 6, 4, 4, 5, 3, 4, 6, 4, 4, 4, 4, 4, 6, 4, 3, 5, 4, 4, 6, 3, 4, 5, 4, 4, 5, 4, 4, 5, 4, 3, 6, 4, 4, 5, 3, 4, 6, 4, 4, 4, 4, 4, 6, 4, 3, 5, 4, 4, 6, 3, 4, 5, 4, 4, 5, 4, 4, 5, 4, 3
OFFSET
0,10
EXAMPLE
a(12) counts these 3 partitions: 732, 651, 6321.
MATHEMATICA
z = 40; f[n_] := f[n] = Select[IntegerPartitions[n], Max[Length /@Split@#] == 1 &];
Table[Count[f[n], p_ /; Max[p] == 2 + Min[p]], {n, 0, z}] (* A171182 *)
Table[Count[f[n], p_ /; Max[p] == 3 + Min[p]], {n, 0, z}] (* A240871 *)
Table[Count[f[n], p_ /; Max[p] == 4 + Min[p]], {n, 0, z}] (* A240872 *)
Table[Count[f[n], p_ /; Max[p] == 5 + Min[p]], {n, 0, z}] (* A240873 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 15 2014
STATUS
approved