|
|
A241827
|
|
Number of partitions p = [x(1), ..., x(k)], where x(1) >= x(2) >= ... >= x(k), of n such that min(x(i) - x(i-1)) > number of distinct parts of p.
|
|
5
|
|
|
1, 1, 1, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 8, 8, 10, 11, 13, 14, 17, 18, 21, 23, 26, 28, 32, 34, 38, 41, 45, 48, 53, 57, 62, 67, 73, 79, 86, 93, 101, 110, 119, 129, 140, 152, 164, 178, 192, 208, 224, 242, 260, 281, 301, 324, 347, 373, 398, 427, 455, 487
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,6
|
|
COMMENTS
|
For the partition [n] of n, "min(x(i) - x(i-1))" is (as in the Mathematica program) interpreted as n.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(6) counts these 2 partitions: 6, 51.
|
|
MATHEMATICA
|
z = 30; f[n_] := f[n] = IntegerPartitions[n]; d[p_] := d[p] = Length[DeleteDuplicates[p]]; g1[p_] := Min[-Differences[p]]
Table[Count[f[n], p_ /; g1[p] < d[p]], {n, 0, z}] (* A241823 *)
Table[Count[f[n], p_ /; g1[p] <= d[p]], {n, 0, z}] (* A241824 *)
Table[Count[f[n], p_ /; g1[p] == d[p]], {n, 0, z}] (* A241825 *)
Table[Count[f[n], p_ /; g1[p] >= d[p]], {n, 0, z}] (* A241826 *)
Table[Count[f[n], p_ /; g1[p] > d[p]], {n, 0, z}] (* A241827 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|