login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A239954 Number of partitions p of n such that (number of distinct parts of p) < max(p) - min(p). 6
0, 0, 0, 0, 0, 1, 2, 4, 6, 12, 17, 26, 38, 54, 76, 107, 142, 192, 259, 337, 443, 577, 743, 948, 1213, 1532, 1935, 2427, 3031, 3765, 4681, 5762, 7097, 8704, 10644, 12966, 15775, 19104, 23115, 27874, 33546, 40257, 48259, 57656, 68809, 81929, 97378, 115495 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
LINKS
FORMULA
a(n) + A239958(n) = A000041(n) for n >= 0.
EXAMPLE
a(7) counts these 4 partitions: 61, 52, 511, 1111111.
MATHEMATICA
z = 60; d[p_] := d[p] = Length[DeleteDuplicates[p]]; f[p_] := f[p] = Max[p] - Min[p]; g[n_] := g[n] = IntegerPartitions[n];
Table[Count[g[n], p_ /; d[p] < f[p]], {n, 0, z}] (*A239954*)
Table[Count[g[n], p_ /; d[p] <= f[p]], {n, 0, z}] (*A239955*)
Table[Count[g[n], p_ /; d[p] == f[p]], {n, 0, z}] (*A239956*)
Table[Count[g[n], p_ /; d[p] > f[p]], {n, 0, z}] (*A034296*)
Table[Count[g[n], p_ /; d[p] >= f[p]], {n, 0, z}] (*A239958*)
CROSSREFS
Sequence in context: A326438 A023995 A018189 * A332640 A296505 A325283
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Mar 30 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 05:35 EDT 2024. Contains 371697 sequences. (Running on oeis4.)