cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-10 of 11 results. Next

A064173 Number of partitions of n with positive rank.

Original entry on oeis.org

0, 1, 1, 2, 3, 5, 6, 10, 13, 19, 25, 35, 45, 62, 80, 106, 136, 178, 225, 291, 366, 466, 583, 735, 912, 1140, 1407, 1743, 2140, 2634, 3214, 3932, 4776, 5807, 7022, 8495, 10225, 12313, 14762, 17696, 21136, 25236, 30030, 35722, 42367, 50216, 59368, 70138, 82665
Offset: 1

Views

Author

Vladeta Jovovic, Sep 19 2001

Keywords

Comments

The rank of a partition is the largest summand minus the number of summands.
Also number of partitions of n with negative rank. - Omar E. Pol, Mar 05 2012
Column 1 of A208478. - Omar E. Pol, Mar 11 2012
Number of partitions p of n such that max(max(p), number of parts of p) is not a part of p. - Clark Kimberling, Feb 28 2014
The sequence enumerates the semigroup of partitions of positive rank for each number n. The semigroup is a subsemigroup of the monoid of partitions of nonnegative rank under the binary operation "*": Let A be the positive rank partition (a1,...,ak) where ak > k, and let B=(b1,...bj) with bj > j. Then let A*B be the partition (a1b1,...,a1bj,...,akb1,...,akbj), which has akbj > kj, thus having positive rank. For example, the partition (2,3,4) of 9 has rank 1, and its product with itself is (4,6,6,8,8,9,12,12,16) of 81, which has rank 7. A similar situation holds for partitions of negative rank--they are a subsemigroup of the monoid of nonpositive rank partitions. - Richard Locke Peterson, Jul 15 2018

Examples

			a(20) = p(18) - p(13) + p(5) = 385 - 101 + 7 = 291.
From _Gus Wiseman_, Feb 09 2021: (Start)
The a(2) = 1 through a(9) = 13 partitions of positive rank:
  (2)  (3)  (4)   (5)   (6)    (7)    (8)     (9)
            (31)  (32)  (33)   (43)   (44)    (54)
                  (41)  (42)   (52)   (53)    (63)
                        (51)   (61)   (62)    (72)
                        (411)  (421)  (71)    (81)
                               (511)  (422)   (432)
                                      (431)   (441)
                                      (521)   (522)
                                      (611)   (531)
                                      (5111)  (621)
                                              (711)
                                              (5211)
                                              (6111)
(End)
		

Crossrefs

Note: A-numbers of ranking sequences are in parentheses below.
The negative-rank version is also A064173 (A340788).
The case of odd positive rank is A101707 (A340604).
The case of even positive rank is A101708 (A340605).
These partitions are ranked by (A340787).
A063995/A105806 count partitions by rank.
A072233 counts partitions by sum and length.
A168659 counts partitions whose length is a multiple of the greatest part.
A200750 counts partitions whose length and greatest part are coprime.
- Rank -
A064174 counts partitions of nonnegative/nonpositive rank (A324562/A324521).
A101198 counts partitions of rank 1 (A325233).
A257541 gives the rank of the partition with Heinz number n.
A340601 counts partitions of even rank (A340602).
A340692 counts partitions of odd rank (A340603).
- Balance -
A047993 counts balanced partitions (A106529).
A340599 counts alt-balanced factorizations.
A340653 counts balanced factorizations.

Programs

  • Maple
    A064173 := proc(n)
        a := 0 ;
        for p in combinat[partition](n) do
            r := max(op(p))-nops(p) ;
            if r > 0 then
                a := a+1 ;
            end if;
        end do:
        a ;
    end proc:
    seq(A064173(n),n=0..40) ;# Emeric Deutsch, Dec 11 2004
  • Mathematica
    Table[Count[IntegerPartitions[n], q_ /; First[q] > Length[q]], {n, 24}] (* Clark Kimberling, Feb 12 2014 *)
    Table[Count[IntegerPartitions[n], p_ /; ! MemberQ[p, Max[Max[p], Length[p]]]], {n, 20}] (* Clark Kimberling, Feb 28 2014 *)
    P = PartitionsP;
    a[n_] := (P[n] - Sum[-(-1)^k (P[n - (3k^2 - k)/2] - P[n - (3k^2 + k)/2]), {k, 1, Floor[(1 + Sqrt[1 + 24n])/6]}])/2;
    a /@ Range[48] (* Jean-François Alcover, Jan 11 2020, after Wouter Meeussen in A047993 *)
  • PARI
    my(N=66, x='x+O('x^N)); concat(0, Vec(sum(k=1, N, x^k*prod(j=1, k, (1-x^(k+j-2))/(1-x^j))))) \\ Seiichi Manyama, Jan 25 2022

Formula

a(n) = (A000041(n) - A047993(n))/2.
a(n) = p(n-2) - p(n-7) + p(n-15) - ... - (-1)^k*p(n-(3*k^2+k)/2) + ..., where p() is A000041(). - Vladeta Jovovic, Aug 04 2004
G.f.: Product_{k>=1} (1/(1-q^k)) * Sum_{k>=1} ( (-1)^k * (-q^(3*k^2/2+k/2))) (conjectured). - Thomas Baruchel, May 12 2018
G.f.: Sum_{k>=1} x^k * Product_{j=1..k} (1-x^(k+j-2))/(1-x^j). - Seiichi Manyama, Jan 25 2022
a(n)+A064174(n) = A000041(n). - R. J. Mathar, Feb 22 2023

A209616 Sum of positive Dyson's ranks of all partitions of n.

Original entry on oeis.org

0, 1, 2, 4, 7, 12, 18, 29, 42, 63, 89, 128, 176, 246, 333, 453, 603, 807, 1058, 1393, 1807, 2346, 3011, 3867, 4915, 6248, 7879, 9926, 12421, 15529, 19297, 23954, 29585, 36486, 44802, 54937, 67096, 81831, 99459, 120700, 146026, 176410, 212512, 255636, 306734
Offset: 1

Views

Author

Omar E. Pol, Mar 10 2012

Keywords

Comments

The Dyson's rank of a partition is the largest part minus the number of parts.

Examples

			For n = 5 we have:
--------------------------
Partitions        Dyson's
of 5               rank
--------------------------
5               5 - 1 =  4
4+1             4 - 2 =  2
3+2             3 - 2 =  1
3+1+1           3 - 3 =  0
2+2+1           2 - 3 = -1
2+1+1+1         2 - 4 = -2
1+1+1+1+1       1 - 5 = -4
--------------------------
The sum of positive Dyson's ranks of all partitions of 5 is 4+2+1 = 7 so a(5) = 7.
		

Crossrefs

Column 1 of triangle A208482.

Programs

  • Maple
    # Maple program based on Theorem 1 of Andrews-Chan-Kim:
    M:=101;
    qinf:=mul(1-q^i,i=1..M);
    qinf:=series(qinf,q,M);
    R1:=add((-1)^(n+1)*q^(n*(3*n+1)/2)/(1-q^n),n=1..M);
    R1:=series(R1/qinf,q,M);
    seriestolist(%); # N. J. A. Sloane, Sep 04 2012
  • Mathematica
    M = 101;
    qinf = Product[1-q^i, {i, 1, M}];
    qinf = Series[qinf, {q, 0, M}];
    R1 = Sum[(-1)^(n+1) q^(n(3n+1)/2)/(1-q^n), {n, 1, M}];
    R1 = Series[R1/qinf, {q, 0, M}];
    CoefficientList[R1, q] // Rest (* Jean-François Alcover, Aug 18 2018, translated from Maple *)
  • PARI
    my(N=50, x='x+O('x^N)); concat(0, Vec(1/prod(k=1, N, 1-x^k)*sum(k=1, N, (-1)^(k-1)*x^(k*(3*k+1)/2)/(1-x^k)))) \\ Seiichi Manyama, May 21 2023

Formula

a(n) = A115995(n) - A195012(n). - Omar E. Pol, Apr 06 2012
G.f.: (1/Product_{k>=1} (1-x^k)) * Sum_{k>=1} (-1)^(k-1) * x^(k*(3*k+1)/2) / (1-x^k). - Seiichi Manyama, May 21 2023
a(n) ~ log(2) * exp(Pi*sqrt(2*n/3)) / (Pi*2^(3/2)*sqrt(n)). - Vaclav Kotesovec, Jul 06 2025

Extensions

More terms from Alois P. Heinz, Mar 10 2012

A208482 Triangle read by rows: T(n,k) = sum of positive k-th ranks of all partitions of n.

Original entry on oeis.org

0, 1, 1, 2, 1, 1, 4, 1, 2, 1, 7, 1, 3, 2, 1, 12, 2, 5, 4, 2, 1, 18, 3, 6, 6, 4, 2, 1, 29, 6, 9, 10, 7, 4, 2, 1, 42, 9, 11, 13, 11, 7, 4, 2, 1, 63, 16, 15, 19, 17, 12, 7, 4, 2, 1, 89, 24, 18, 25, 24, 18, 12, 7, 4, 2, 1, 128, 39, 24, 36, 34, 28, 19, 12, 7, 4, 2, 1
Offset: 1

Views

Author

Omar E. Pol, Mar 07 2012

Keywords

Comments

For the definition of the k-th rank see A208478.
It appears that the sum of the k-th ranks of all partitions of n is equal to zero.
It appears that reversed rows converge to A000070, the same as A208478. - Omar E. Pol, Mar 10 2012

Examples

			For n = 4 the partitions of 4 and the four types of ranks of the partitions of 4 are
----------------------------------------------------------
Partitions    First      Second       Third      Fourth
of 4          rank        rank        rank        rank
----------------------------------------------------------
4           4-1 =  3    0-1 = -1    0-1 = -1    0-1 = -1
3+1         3-2 =  1    1-1 =  0    0-1 = -1    0-0 =  0
2+2         2-2 =  0    2-2 =  0    0-0 =  0    0-0 =  0
2+1+1       2-3 = -1    1-1 =  0    1-0 =  1    0-0 =  0
1+1+1+1     1-4 = -3    1-0 =  1    1-0 =  1    1-0 =  1
----------------------------------------------------------
The sums of positive k-th ranks of the partitions of 4 are 4, 1, 2, 1 so row 4 lists 4, 1, 2, 1.
Triangle begins:
0;
1,    1;
2,    1,  1;
4,    1,  2,  1;
7,    1,  3,  2,  1;
12,   2,  5,  4,  2,  1;
18,   3,  6,  6,  4,  2,  1;
29,   6,  9, 10,  7,  4,  2,  1;
42,   9, 11, 13, 11,  7,  4,  2,  1;
63,  16, 15, 19, 17, 12,  7,  4,  2,  1;
89,  24, 18, 25, 24, 18, 12,  7,  4,  2,  1;
128, 39, 24, 36, 34, 28, 19, 12,  7,  4,  2,  1;
		

Crossrefs

Extensions

Terms a(1)-a(22) confirmed and additional terms added by John W. Layman, Mar 10 2012

A208483 Total sum of the sums of all positive k-th ranks of all partitions of n.

Original entry on oeis.org

0, 2, 4, 8, 14, 26, 40, 68, 100, 156, 224, 334, 466, 668, 920, 1278, 1726, 2356, 3130, 4190, 5508, 7254, 9422, 12268, 15764, 20284, 25852, 32934, 41616, 52578, 65938, 82648, 102976, 128144, 158660, 196222, 241534, 296946, 363632, 444650, 541794, 659268, 799606
Offset: 1

Views

Author

Omar E. Pol, Mar 07 2012

Keywords

Comments

For the definition of k-th rank see A208478.

Examples

			For n = 4 the partitions of 4 and the four types of ranks of the partitions of 4 are
----------------------------------------------------------
Partitions    First      Second       Third      Fourth
of 4          rank        rank        rank        rank
----------------------------------------------------------
4           4-1 =  3    0-1 = -1    0-1 = -1    0-1 = -1
3+1         3-2 =  1    1-1 =  0    0-1 = -1    0-0 =  0
2+2         2-2 =  0    2-2 =  0    0-0 =  0    0-0 =  0
2+1+1       2-3 = -1    1-1 =  0    1-0 =  1    0-0 =  0
1+1+1+1     1-4 = -3    1-0 =  1    1-0 =  1    1-0 =  1
----------------------------------------------------------
The sums of positive k-th ranks of the partitions of 4 are 4, 1, 2, 1 so the total sum is a(4) = 4+1+2+1 = 8.
		

Crossrefs

Row sums of triangle A208482.

Extensions

More terms from Alois P. Heinz, Mar 11 2012

A208479 Total sum of the numbers of partitions with positive k-th ranks of all partitions of n.

Original entry on oeis.org

0, 2, 3, 6, 10, 18, 27, 45, 65, 99, 141, 206, 285, 403, 549, 754, 1011, 1364, 1800, 2388, 3116, 4072, 5257, 6791, 8678, 11093, 14058, 17800, 22380, 28111, 35087, 43748, 54256, 67189, 82831, 101962, 124997, 153011, 186632, 227281, 275905, 334418, 404159, 487714
Offset: 1

Views

Author

Omar E. Pol, Mar 07 2012

Keywords

Comments

For the definition of k-th rank see A208478.

Examples

			For n = 4 the partitions of 4 and the four types of ranks of the partitions of 4 are
----------------------------------------------------------
Partitions    First      Second       Third      Fourth
of 4          rank        rank        rank        rank
----------------------------------------------------------
4           4-1 =  3    0-1 = -1    0-1 = -1    0-1 = -1
3+1         3-2 =  1    1-1 =  0    0-1 = -1    0-0 =  0
2+2         2-2 =  0    2-2 =  0    0-0 =  0    0-0 =  0
2+1+1       2-3 = -1    1-1 =  0    1-0 =  1    0-0 =  0
1+1+1+1     1-4 = -3    1-0 =  1    1-0 =  1    1-0 =  1
----------------------------------------------------------
The number of partitions of 4 with positive k-th ranks are 2, 1, 2, 1 so the total sum is a(4) = 2+1+2+1 = 6.
		

Crossrefs

Row sums of A208478.

Extensions

More terms from Alois P. Heinz, Mar 11 2012

A330370 Irregular triangle read by rows T(n,m) in which row n lists all partitions of n ordered by their k-th ranks, or by their k-th largest parts if all their k-th ranks are zeros, with k = 1..n.

Original entry on oeis.org

1, 2, 1, 1, 3, 2, 1, 1, 1, 1, 4, 3, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 5, 4, 1, 3, 2, 3, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 6, 5, 1, 4, 2, 3, 3, 4, 1, 1, 3, 2, 1, 3, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 6, 1, 5, 2, 4, 3, 5, 1, 1, 4, 2, 1, 3, 3, 1, 4, 1, 1, 1, 3, 2, 2, 3, 2, 1, 1, 3
Offset: 1

Views

Author

Omar E. Pol, Dec 12 2019

Keywords

Comments

Theorem: the k-th part of a partition in nonincreasing order of a positive integer equals the number of parts >= k of its conjugate partition.
Example: for n = 9 consider the partition [5, 3, 1]. The first part is 5, so the conjugate partition [3, 2, 2, 1, 1] has five parts >= 1. The second part is 3, so the conjugate partition has three parts >= 2. The third part is 1, so the conjugate partition has only one part >= 3. And vice versa, consider now the partition [3, 2, 2, 1, 1]. The first part is 3, so the conjugate partition [5, 3, 1] has three parts >= 1. The second part is 2, so the conjugate partition has two parts >= 2. The third part is 2, so the conjugate partition has two parts >= 3. The fourth part is 1, so the conjugate partition has only one part >= 4. The fifth part is 1, so the conjugate partition has only one part >= 5.
Corollary: the difference between the k-th part and the (k+1)-st part of a partition in nonincreasing order of a positive integer equals the number of k's in its conjugate partition.
Example: consider the partition [5, 3, 1]. The difference between the first and the second parts is 5 - 3 = 2, which equals the number of 1's in its conjugate partition [3, 2, 2, 1, 1]. The difference between the second and third parts is 3 - 1 = 2, which equals the number of 2's in its conjugate partition. The difference between the third part and the fourth (virtual) part is 1 - 0 = 1, which equals the number of 3's in its conjugate partition. And vice versa, consider the partition [3, 2, 2, 1, 1]. The difference between the first and second parts is 3 - 2 = 1, which equals the number of 1's in its conjugate partition [5, 3, 1]. The difference between the second and third parts is 2 - 2 = 0, which equals the number of 2's in its conjugate partition. The difference between the third and fourth parts is 2 - 1 = 1, which equals the number of 3's in its conjugate partition, and so on.
Self-conjugate partitions are included in all the above comments.
A proof without words is as shown below:
.
+------------------------+
| +--------------------+ |
| | +----------------+ | |
| | | | | |
v v v P2 FD k | | |
| | |
+--------> * * * 3 1 1 --+ | |
| +------> * * 2 0 2 | |
| +------> * * 2 1 3 ----+ |
| | +----> * 1 0 4 |
| | +----> * 1 1 5 ------+
| | |
| | | P1 5 3 1
| | |
| | | FD 2 2 1
| | |
| | | k 1 2 3
| | |
| | | | | |
| | +-------+ | |
| +-----------+ |
+---------------+
.
Every partition of n has n ranks.
The k-th rank of a partition is the k-th part minus the number of parts >= k.
In accordance with the above theorem, the k-th rank of a partition is also the number of parts >= k of its conjugate partition minus the number of parts >= k of the partition.
All ranks of a partition are zeros if and only if the partition is a self-conjugate partition.
The list of ranks of a partition of n equals the list of ranks multipled by -1 of its conjugate partition.
For example, the nine ranks of the partition [5, 3, 1] are [2, 1, -1, -1, -1, -1, 0, 0, 0], and the nine ranks of its conjugate partition [3, 2, 2, 1, 1] are [-2, -1, 1, 1, 1, 1, 0, 0, 0].
Note that the first rank coincides with the Dyson's rank because the first part of a partition is also the largest part, and the number of parts >= 1 is also the total number of parts.
In this triangle the partitions of n appears ordered by their first rank. The partitions that have the same first rank appears ordered by their second rank. The partitions that have the same first rank and the same second rank appears ordered by their third rank, and so on. The partitions that have all k-ranks equal zero appears ordered by their largest parts, then by their second largest parts, then by their third largest parts, and so on.
Note that a partition and its conjugate partition both are equidistants from the center of the list of partitions of n.
The first ranks of the partitions of this triangle give A330368.
For more information about the k-th ranks see A208478.
First differs from A080577 at a(48), and from A036037 at a(56), and from A181317 at a(105).

Examples

			Triangle begins:
  [1];
  [2], [1,1];
  [3], [2,1], [1,1,1];
  [4], [3,1], [2,2], [2,1,1], [1,1,1,1];
  [5], [4,1], [3,2], [3,1,1], [2,2,1], [2,1,1,1], [1,1,1,1,1];
  [6], [5,1], [4,2], [3,3], [4,1,1], [3,2,1], [3,1,1,1], [2,2,2], ...
  ...
Illustration of initial terms with a symmetric arrangement (note that the self-conjugate partitions are located in the main diagonal):
.
  1    1 1    1 1 1    1 1 1 1    1 1 1 1 1           1 1 1 1 1 1
  *    * *    * * *    * * * *    * * * * *           * * * * * *
  2
  *
  *
  3           2 1      2 1 1      2 1 1 1             2 1 1 1 1
  *           * *      * * *      * * * *             * * * * *
  *           *        *          *                   *
  *
  4           3 1      2 2        2 2 1               2 2 1 1
  *           * *      * *        * * *               * * * *
  *           *        * *        * *                 * *
  *           *
  *
  5           4 1      3 2        3 1 1               2 2 2
  *           * *      * *        * * *               * * *
  *           *        * *        *                   * * *
  *           *        *          *
  *           *                                       3 1 1 1
  *                                                   * * * *
                                                      *
                                                      *
.
  6           5 1      4 2        3 3      4 1 1      3 2 1
  *           * *      * *        * *      * * *      * * *
  *           *        * *        * *      *          * *
  *           *        *          * *      *          *
  *           *        *                   *
  *           *
  *
For n = 9 the 9th row of the triangle contains the partitions ordered as shown below:
---------------------------------------------------------------------------------
                                                                Ranks
          Conjugate
Label       with        Partitions                k = 1  2  3  4  5  6  7  8  9
---------------------------------------------------------------------------------
   1         30         [9]                           8 -1 -1 -1 -1 -1 -1 -1 -1
   2         29         [8, 1]                        6  0 -1 -1 -1 -1 -1 -1  0
   3         28         [7, 2]                        5  0 -1 -1 -1 -1 -1  0  0
   4         27         [6, 3]                        4  1 -2 -1 -1 -1  0  0  0
   5         26         [7, 1, 1]                     4  0  0 -1 -1 -1 -1  0  0
   6         25         [5, 4]                        3  2 -2 -2 -1  0  0  0  0
   7         24         [6, 2, 1]                     3  0  0 -1 -1 -1  0  0  0
   8         23         [5, 3, 1]                     2  1 -1 -1 -1  0  0  0  0
   9         22         [6, 1, 1, 1]                  2  0  0  0 -1 -1  0  0  0
  10         21         [5, 2, 2]                     2 -1  1 -1 -1  0  0  0  0
  11         20         [4, 4, 1]                     1  2 -1 -2  0  0  0  0  0
  12         19         [5, 2, 1, 1]                  1  0  0  0 -1  0  0  0  0
  13         18         [4, 3, 2]                     1  0  0 -1  0  0  0  0  0
  14         17         [4, 3, 1, 1]                  0  1 -1  0  0  0  0  0  0
  15  (self-conjugate)  [5, 1, 1, 1, 1]  All zeros -> 0  0  0  0  0  0  0  0  0
  16  (self-conjugate)  [3, 3, 3]        All zeros -> 0  0  0  0  0  0  0  0  0
  17         14         [4, 2, 2, 1]                  0 -1  1  0  0  0  0  0  0
  18         13         [3, 3, 2, 1]                 -1  0  0  1  0  0  0  0  0
  19         12         [4, 2, 1, 1, 1]              -1  0  0  0  1  0  0  0  0
  20         11         [3, 2, 2, 2]                 -1 -2  1  2  0  0  0  0  0
  21         10         [3, 3, 1, 1, 1]              -2  1 -1  1  1  0  0  0  0
  22          9         [4, 1, 1, 1, 1, 1]           -2  0  0  0  1  1  0  0  0
  23          8         [3, 2, 2, 1, 1]              -2 -1  1  1  1  0  0  0  0
  24          7         [3, 2, 1, 1, 1, 1]           -3  0  0  1  1  1  0  0  0
  25          6         [2, 2, 2, 2, 1]              -3 -2  2  2  1  0  0  0  0
  26          5         [3, 1, 1, 1, 1, 1, 1]        -4  0  0  1  1  1  1  0  0
  27          4         [2, 2, 2, 1, 1, 1]           -4 -1  2  1  1  1  0  0  0
  28          3         [2, 2, 1, 1, 1, 1, 1]        -5  0  1  1  1  1  1  0  0
  29          2         [2, 1, 1, 1, 1, 1, 1, 1]     -6  0  1  1  1  1  1  1  0
  30          1         [1, 1, 1, 1, 1, 1, 1, 1, 1]  -8  1  1  1  1  1  1  1  1
.
Two examples of the order of partitions:
1) The partitions [6, 3] and [7, 1, 1] both have their first rank equal to 4, so they are ordered by their sencond rank.
2) The self-conjugate partitions [5, 1, 1, 1, 1] and [3, 3, 3] both have all their ranks equal to zero, so they are ordered by their first part.
		

Crossrefs

Row n contains A000041(n) partitions.
Row n has length A006128(n).
The sum of n-th row is A066186(n).
For "k-th rank" of a partition see also: A181187, A208478, A208479, A208482, A208483.

A330368 Irregular triangle read by rows in which row n lists the ranks of the partitions of n in nonincreasing order.

Original entry on oeis.org

0, 1, -1, 2, 0, -2, 3, 1, 0, -1, -3, 4, 2, 1, 0, -1, -2, -4, 5, 3, 2, 1, 1, 0, -1, -1, -2, -3, -5, 6, 4, 3, 2, 2, 1, 0, 0, 0, -1, -2, -2, -3, -4, -6, 7, 5, 4, 3, 3, 2, 2, 1, 1, 1, 0, 0, -1, -1, -1, -2, -2, -3, -3, -4, -5, -7, 8, 6, 5, 4, 4, 3, 3, 2, 2, 2, 1, 1, 1, 0, 0, 0, 0, -1, -1, -1, -2, -2, -2, -3, -3, -4, -4, -5, -6, -8
Offset: 1

Views

Author

Omar E. Pol, Dec 12 2019

Keywords

Comments

The rank of a partition is the largest part minus the number of parts.
For more about this ordering, see A330370.
First differs from A105805 at a(49) = T(7,5).

Examples

			Triangle begins:
                              0;
                            1, -1;
                          2,  0, -2;
                      3,  1,  0, -1, -3;
                  4,  2,  1,  0, -1, -2, -4;
          5,  3,  2,  1,  1,  0, -1, -1, -2, -3, -5;
  6,  4,  3,  2,  2,  1,  0,  0,  0, -1, -2, -2, -3, -4, -6;
...
		

Crossrefs

Row n has length A000041(n).
Row sums give A000004.

Extensions

Edited by N. J. A. Sloane, Sep 15 2020

A330373 Sum of all parts of all self-conjugate partitions of n.

Original entry on oeis.org

0, 1, 0, 3, 4, 5, 6, 7, 16, 18, 20, 22, 36, 39, 42, 60, 80, 85, 90, 114, 140, 168, 176, 207, 264, 300, 312, 378, 448, 493, 540, 620, 736, 825, 884, 1015, 1188, 1295, 1406, 1599, 1840, 2009, 2184, 2451, 2772, 3060, 3312, 3666, 4176, 4557, 4900, 5457, 6084, 6625, 7182, 7920, 8792, 9576, 10324, 11328, 12540
Offset: 0

Views

Author

Omar E. Pol, Dec 17 2019

Keywords

Comments

a(n) is the sum of all parts of all partitions of n whose Ferrers diagrams are symmetric.
The k-th part of a partition equals the number of parts >= k of its conjugate partition. Hence, the k-th part of a self-conjugate partition equals the number of parts >= k.
The k-th rank of a partition is the k-th part minus the number of parts >= k. Thus all ranks of a conjugate-partitions are zero. Therefore, a(n) is also the sum of all parts of all partitions of n whose n ranks are zero, n >= 1. For more information about the k-th ranks see A208478.

Examples

			For n = 10 there are only two partitions of 10 whose Ferrers diagram are symmetric, they are [5, 2, 1, 1, 1] and [4, 3, 2, 1] as shown below:
  * * * * *
  * *
  *
  *
  *
            * * * *
            * * *
            * *
            *
The sum of all parts of these partitions is 5 + 2 + 1 + 1 + 1 + 4 + 3 + 2 + 1 = 20, so a(10) = 20.
Also, in accordance with the first formula; a(10) = 2*10 = 20.
		

Crossrefs

Row sums of A330372.
For "k-th rank" of a partition see also: A181187, A208478, A208479, A208482, A208483, A330370.

Programs

  • PARI
    seq(n)={Vec(deriv(exp(sum(k=1, n, x^k/(k*(1 - (-x)^k)) + O(x*x^n)))), -(n+1))} \\ Andrew Howroyd, Dec 31 2019

Formula

a(n) = n*A000700(n).
a(n) = abs(n*A081362(n)).
a(n) = abs(A235324(n)), n >= 1.

A330372 Irregular triangle read by rows in which row n lists the self-conjugate partitions of n, ordered by their k-th largest parts, or 0 if such partitions does not exist.

Original entry on oeis.org

0, 1, 0, 2, 1, 2, 2, 3, 1, 1, 3, 2, 1, 4, 1, 1, 1, 4, 2, 1, 1, 3, 3, 2, 5, 1, 1, 1, 1, 3, 3, 3, 5, 2, 1, 1, 1, 4, 3, 2, 1, 6, 1, 1, 1, 1, 1, 4, 3, 3, 1, 6, 2, 1, 1, 1, 1, 5, 3, 2, 1, 1, 4, 4, 2, 2, 7, 1, 1, 1, 1, 1, 1, 5, 3, 3, 1, 1, 4, 4, 3, 2
Offset: 0

Views

Author

Omar E. Pol, Dec 17 2019

Keywords

Comments

Row n lists the partitions of n whose Ferrers diagrams are symmetrics.
The k-th part of a partition equals the number of parts >= k of its conjugate partition. Hence, the k-th part of a self-conjugate partition equals the number of parts >= k.
The k-th rank of a partition is the k-th part minus the number of parts >= k. Thus all ranks of a conjugate-partitions are zero. Therefore row n lists the partitions of n whose n ranks are zero, n >= 1. For more information about the k-th ranks see A208478.

Examples

			Triangle begins (rows n = 0..10):
[0];
[1];
[0];
[2, 1];
[2, 2];
[3, 1, 1];
[3, 2, 1];
[4, 1, 1, 1];
[4, 2, 1, 1], [3, 3, 2];
[5, 1, 1, 1, 1], [3, 3, 3];
[5, 2, 1, 1, 1], [4, 3, 2, 1];
...
For n = 10 there are only two partitions of 10 whose Ferrers diagram are symmetric, they are [5, 2, 1, 1, 1] and [4, 3, 2, 1] as shown below:
  * * * * *
  * *
  *
  *
  *
            * * * *
            * * *
            * *
            *
So these partitions form the 10th row of triangle.
On the other hand, only two partitions of 10 have all their ranks equal to zero, they are [5, 2, 1, 1, 1] and [4, 3, 2, 1], so these partitions form the 10th row of triangle.
		

Crossrefs

Row n contains A000700(n) partitions.
The number of positive terms in row n is A067619(n).
Row sums give A330373.
Column 2 gives A000034.
Column 3 gives A000012.
For "k-th rank" of a partition see also: A181187, A208478, A208479, A208482, A208483, A330370.

Extensions

More terms from Freddy Barrera, Dec 31 2019

A330371 Irregular triangle read by rows T(n,m) in which row n lists all partitions of n ordered by the lower value of their k-th ranks, or by their k-th largest parts if all their k-th ranks are zeros, with k = n..1.

Original entry on oeis.org

1, 2, 1, 1, 3, 2, 1, 1, 1, 1, 4, 3, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 5, 4, 1, 3, 2, 3, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 6, 5, 1, 4, 2, 4, 1, 1, 3, 3, 3, 2, 1, 2, 2, 2, 3, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 6, 1, 5, 2, 5, 1, 1, 4, 3, 4, 2, 1, 3, 3, 1, 4, 1, 1, 1, 3, 2, 2, 3, 2, 1, 1
Offset: 1

Views

Author

Omar E. Pol, Dec 15 2019

Keywords

Comments

In this triangle the partitions of n are ordered by their n-th rank. The partitions that have the same n-th rank appears ordered by their (n-1)-st rank. The partitions that have the same n-th rank and the same (n-1)-st rank appears ordered by their (n-2)-nd rank, and so on. The partitions that have all k-ranks equal zero appears ordered by their largest parts, then by their second largest parts, then by their third largest parts, and so on.
Note that a partition and its conjugate partition both are equidistants from the center of the list of partitions of n.
For further information see A330370.
First differs from A036037, A181317, A330370 and A334439 at a(48).
First differs from A080577 at a(56).

Examples

			Triangle begins:
[1];
[2], [1,1];
[3], [2,1], [1,1,1];
[4], [3,1], [2,2], [2,1,1], [1,1,1,1];
[5], [4,1], [3,2], [3,1,1], [2,2,1], [2,1,1,1], [1,1,1,1,1];
[6], [5,1], [4,2], [4,1,1], [3,3], [3,2,1], [2,2,2], [3,1,1,1], [2,2,1,1], ...
.
For n = 9 the 9th row of the triangle contains the partitions ordered as shown below:
---------------------------------------------------------------------------------
                                                                Ranks
          Conjugate
Label     with label    Partition                 k = 1  2  3  4  5  6  7  8  9
---------------------------------------------------------------------------------
   1         30         [9]                           8 -1 -1 -1 -1 -1 -1 -1 -1
   2         29         [8, 1]                        6  0 -1 -1 -1 -1 -1 -1  0
   3         28         [7, 2]                        5  0 -1 -1 -1 -1 -1  0  0
   4         27         [7, 1, 1]                     4  0  0 -1 -1 -1 -1  0  0
   5         26         [6, 3]                        4  1 -2 -1 -1 -1  0  0  0
   6         25         [6, 2, 1]                     3  0  0 -1 -1 -1  0  0  0
   7         24         [6, 1, 1, 1]                  2  0  0  0 -1 -1  0  0  0
   8         23         [5, 4]                        3  2 -2 -2 -1  0  0  0  0
   9         22         [5, 3, 1]                     2  1 -1 -1 -1  0  0  0  0
  10         21         [5, 2, 2]                     2 -1  1 -1 -1  0  0  0  0
  11         20         [5, 2, 1, 1]                  1  0  0  0 -1  0  0  0  0
  12         19         [4, 4, 1]                     1  2 -1 -2  0  0  0  0  0
  13         18         [4, 3, 2]                     1  0  0 -1  0  0  0  0  0
  14         17         [4, 3, 1, 1]                  0  1 -1  0  0  0  0  0  0
  15  (self-conjugate)  [5, 1, 1, 1, 1]  All zeros -> 0  0  0  0  0  0  0  0  0
  16  (self-conjugate)  [3, 3, 3]        All zeros -> 0  0  0  0  0  0  0  0  0
  17         14         [4, 2, 2, 1]                  0 -1  1  0  0  0  0  0  0
  18         13         [3, 3, 2, 1]                 -1  0  0  1  0  0  0  0  0
  19         12         [3, 2, 2, 2]                 -1 -2  1  2  0  0  0  0  0
  20         11         [4, 2, 1, 1, 1]              -1  0  0  0  1  0  0  0  0
  21         10         [3, 3, 1, 1, 1]              -2  1 -1  1  1  0  0  0  0
  22          9         [3, 2, 2, 1, 1]              -2 -1  1  1  1  0  0  0  0
  23          8         [2, 2, 2, 2, 1]              -3 -2  2  2  1  0  0  0  0
  24          7         [4, 1, 1, 1, 1, 1]           -2  0  0  0  1  1  0  0  0
  25          6         [3, 2, 1, 1, 1, 1]           -3  0  0  1  1  1  0  0  0
  26          5         [2, 2, 2, 1, 1, 1]           -4 -1  2  1  1  1  0  0  0
  27          4         [3, 1, 1, 1, 1, 1, 1]        -4  0  0  1  1  1  1  0  0
  28          3         [2, 2, 1, 1, 1, 1, 1]        -5  0  1  1  1  1  1  0  0
  29          2         [2, 1, 1, 1, 1, 1, 1, 1]     -6  0  1  1  1  1  1  1  0
  30          1         [1, 1, 1, 1, 1, 1, 1, 1, 1]  -8  1  1  1  1  1  1  1  1
		

Crossrefs

Another version of A330370.
Row n contains A000041(n) partitions.
Row n has length A006128(n).
The sum of n-th row is A066186(n).
For the "k-th rank" see also: A181187, A208478, A208479, A208482, A208483.
Showing 1-10 of 11 results. Next