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!)
A325191 Number of integer partitions of n such that the difference between the length of the minimal triangular partition containing and the maximal triangular partition contained in the Young diagram is 1. 8
0, 0, 2, 0, 3, 3, 0, 4, 6, 4, 0, 5, 10, 10, 5, 0, 6, 15, 20, 15, 6, 0, 7, 21, 35, 35, 21, 7, 0, 8, 28, 56, 70, 56, 28, 8, 0, 9, 36, 84, 126, 126, 84, 36, 9, 0, 10, 45, 120, 210, 252, 210, 120, 45, 10, 0, 11, 55, 165, 330, 462 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
The Heinz numbers of these partitions are given by A325196.
Under the Bulgarian solitaire step, these partitions form cycles of length >= 2. Length >= 2 means not the length=1 self-loop which occurs from the triangular partition when n is a triangular number. See A074909 for self-loops included. - Kevin Ryde, Sep 27 2019
LINKS
Eric Weisstein's World of Mathematics, Graph Distance
FORMULA
Positions of zeros are A000217 = n * (n + 1) / 2.
a(n) = A074909(n) - A010054(n). - Kevin Ryde, Sep 27 2019
EXAMPLE
The a(2) = 2 through a(12) = 10 partitions (empty columns not shown):
(2) (22) (32) (322) (332) (432) (4322) (4332)
(11) (31) (221) (331) (422) (3321) (4331) (4422)
(211) (311) (421) (431) (4221) (4421) (4431)
(3211) (3221) (4311) (5321) (5322)
(3311) (43211) (5331)
(4211) (5421)
(43221)
(43311)
(44211)
(53211)
MATHEMATICA
otb[ptn_]:=Min@@MapIndexed[#1+#2[[1]]-1&, Append[ptn, 0]];
otbmax[ptn_]:=Max@@MapIndexed[#1+#2[[1]]-1&, Append[ptn, 0]];
Table[Length[Select[IntegerPartitions[n], otb[#]+1==otbmax[#]&]], {n, 0, 30}]
PROG
(PARI) a(n) = my(t=ceil(sqrtint(8*n+1)/2), r=n-t*(t-1)/2); if(r==0, 0, binomial(t, r)); \\ Kevin Ryde, Sep 27 2019
CROSSREFS
Column k=1 of A325200.
Sequence in context: A053727 A265208 A265020 * A209703 A279779 A279587
KEYWORD
nonn,look
AUTHOR
Gus Wiseman, Apr 11 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 May 15 17:02 EDT 2024. Contains 372548 sequences. (Running on oeis4.)