The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A325232 Number of integer partitions (of any nonnegative integer) whose sum minus the lesser of their maximum part and their number of parts is n. 8
2, 3, 6, 10, 18, 27, 44, 64, 97, 138, 200, 276, 390, 528, 724, 968, 1301, 1712, 2266, 2946, 3842, 4947, 6372, 8122, 10362, 13094, 16544, 20754, 26010, 32392, 40308, 49876, 61648, 75845, 93178, 114006, 139308, 169586, 206158, 249814, 302267, 364664, 439330 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
For n > 0, a(n) = Sum_{k > 0} A325227(n + k, k).
EXAMPLE
The a(0) = 1 through a(4) = 18 partitions:
() (2) (3) (4) (5)
(1) (11) (22) (32) (33)
(21) (31) (41) (42)
(111) (221) (51)
(211) (321) (222)
(311) (411) (322)
(1111) (331)
(2111) (421)
(3111) (511)
(4111) (2211)
(3211)
(4211)
(5111)
(11111)
(21111)
(31111)
(41111)
(51111)
MATHEMATICA
nn=30;
mindif[ptn_]:=If[ptn=={}, 0, Total[ptn]-Min[Length[ptn], Max[ptn]]];
allip=Array[IntegerPartitions, 2*nn+2, 0, Join];
Table[Length[Select[allip, mindif[#]==n&]], {n, 0, nn}]
CROSSREFS
Number of times n appears in A325224.
Sequence in context: A193200 A026779 A081028 * A208479 A065441 A075531
KEYWORD
nonn
AUTHOR
Gus Wiseman, Apr 13 2019
EXTENSIONS
More terms from Giovanni Resta, Apr 15 2019
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 June 9 10:25 EDT 2024. Contains 373239 sequences. (Running on oeis4.)