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!)
A101199 Number of partitions of n with rank 2 (the rank of a partition is the largest part minus the number of parts). 4
0, 0, 1, 0, 1, 1, 2, 2, 3, 3, 6, 6, 9, 10, 15, 16, 23, 27, 36, 42, 55, 64, 84, 98, 124, 147, 185, 217, 270, 318, 391, 461, 562, 661, 802, 942, 1132, 1331, 1592, 1864, 2220, 2597, 3077, 3593, 4240, 4940, 5811, 6758, 7916, 9192, 10737, 12438, 14488, 16755, 19459, 22465, 26024, 29987 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
COMMENTS
Column k=2 in the triangle A063995.
REFERENCES
George E. Andrews, The Theory of Partitions, Addison-Wesley, Reading, Mass., 1976.
LINKS
FORMULA
a(n) ~ Pi * exp(Pi*sqrt(2*n/3)) / (3 * 2^(9/2) * n^(3/2)). - Vaclav Kotesovec, May 26 2023
EXAMPLE
a(6)=1 because the 11 partitions 6,51,42,411,33,321,3111,222,2211,21111,111111 have ranks 5,3,2,1,1,0,-1,-1,-2,-3,-5, respectively.
MAPLE
with(combinat): for n from 1 to 45 do P:=partition(n): c:=0: for j from 1 to nops(P) do if P[j][nops(P[j])]-nops(P[j])=2 then c:=c+1 else c:=c fi od: a[n]:=c: od: seq(a[n], n=1..45);
MATHEMATICA
Table[Count[Max[#]-Length[#]&/@IntegerPartitions[n], 2], {n, 60}] (* Harvey P. Dale, Dec 22 2018 *)
CROSSREFS
Sequence in context: A035642 A213332 A133392 * A032155 A116932 A240579
KEYWORD
nonn
AUTHOR
Emeric Deutsch, Dec 12 2004
EXTENSIONS
More terms from Joerg Arndt, Oct 07 2012
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)