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.

Previous Showing 61-70 of 78 results. Next

A144120 Number of prime parts in the last section of the set of partitions of n.

Original entry on oeis.org

0, 1, 1, 2, 3, 6, 7, 12, 16, 25, 32, 48, 61, 88, 113, 154, 198, 267, 337, 446, 563, 730, 915, 1174, 1460, 1853, 2294, 2878, 3545, 4416, 5404, 6679, 8144, 9991, 12125, 14791, 17866, 21677, 26084, 31478, 37733, 45340
Offset: 1

Views

Author

Omar E. Pol, Sep 11 2008

Keywords

Comments

First differences of A037032.

Crossrefs

Formula

a(n) = A037032(n)-A037032(n-1).

A194809 Imbalance of the sum of largest parts of all partitions of n.

Original entry on oeis.org

0, -2, 1, -5, 3, -12, 7, -25, 17, -47, 36, -88, 69, -155, 133, -262, 240, -439, 415, -717, 705, -1142, 1165, -1803, 1874, -2797, 2975, -4276, 4632, -6478, 7094, -9698, 10741, -14355, 16059, -21079, 23719, -30670, 34716, -44243, 50315, -63372
Offset: 1

Views

Author

Omar E. Pol, Feb 02 2012

Keywords

Comments

Consider the three-dimensional structure of the shell model of partitions version "tree". Note that only the larges parts > 1 produce the imbalance. Note that every column where is located a largest part contains largest parts of the same size, thesame as a periodic table (see example). For more information see A135010.

Examples

			For n = 6 the illustration of the shell model with 6 shells shows an imbalance of largest parts (see below):
------------------------------------------------------
Partitions                Tree             Table 1.0
of 6.                    A194805            A135010
------------------------------------------------------
6                   6                     6 . . . . .
3+3                   3                   3 . . 3 . .
4+2                     4                 4 . . . 2 .
2+2+2                     2               2 . 2 . 2 .
5+1                         1   5         5 . . . . 1
3+2+1                       1 3           3 . . 2 . 1
4+1+1                   4   1             4 . . . 1 1
2+2+1+1                   2 1             2 . 2 . 1 1
3+1+1+1                     1 3           3 . . 1 1 1
2+1+1+1+1                 2 1             2 . 1 1 1 1
1+1+1+1+1+1                 1             1 1 1 1 1 1
------------------------------------------------------
The sum of largest parts > 1 on the left hand side is 23 and the sum of largest parts > 1 on the right hand side is 11, so a(6) = -23 + 11 = -12. On the other hand for n = 6 we have that 0 together with the first n-1 terms > 1 of A138137 are 0, 2, 3, 6, 8, 15 so a(6) = 0-2+3-6+8-15 = -12.
		

Crossrefs

Formula

a(n) = Sum_{k=2..n} (-1)^(k-1)*A138137(k), n >= 2.

A207377 Triangle read by rows in which row n lists the parts of the last section of the set of partitions of n in nondecreasing order.

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Feb 23 2012

Keywords

Comments

Starting from the first row; it appears that the total numbers of occurrences of k in k successive rows give the sequence A000041. For more information see A182703.

Examples

			Written as a triangle:
1;
1,2;
1,1,3;
1,1,1,2,2,4;
1,1,1,1,1,2,3,5;
1,1,1,1,1,1,1,2,2,2,2,3,3,4,6;
1,1,1,1,1,1,1,1,1,1,1,2,2,2,3,3,4,5,7;
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,4,4,4,5,6,8;
		

Crossrefs

Triangle similar to A135010. Mirror of A207378. Row n has length A138137(n). Row sums give A138879. Right border is A000027.

A208474 Sum of the sizes of the Durfee squares of all partitions of n that do not contain 1 as a part, but with a(1) = 1.

Original entry on oeis.org

1, 1, 1, 3, 3, 7, 7, 13, 16, 24, 30, 46, 55, 79, 100, 136, 169, 229, 282, 374, 462, 598, 737, 947, 1158, 1466, 1794, 2246, 2733, 3399, 4116, 5076, 6133, 7503, 9033, 10993, 13177, 15943, 19061, 22939, 27327, 32749, 38883, 46395, 54938, 65278, 77070, 91270
Offset: 1

Views

Author

Omar E. Pol, Mar 03 2012

Keywords

Comments

Also sum of the sizes of the Durfee squares of all partitions of the head of the last section of n (see A135010).

Crossrefs

First differences of A115995.

Programs

  • Maple
    b:= proc(n, i) option remember; `if`(n=0, 1,
          `if`(i<1, 0, b(n, i-1)+`if`(i>n, 0, b(n-i, i))))
        end:
    g:= proc(n) option remember;
          add(add(b(k, d)*b(n-d^2-k, d),
                  k=0..n-d^2)*d, d=1..floor(sqrt(n)))
        end:
    a:= n-> g(n)-g(n-1):
    seq(a(n), n=1..70);  # Alois P. Heinz, Apr 09 2012
  • Mathematica
    b[n_, i_] := b[n, i] = If[n==0, 1, If[i<1, 0, b[n, i-1] + If[i>n, 0, b[n-i, i]]]]; g[n_] := Sum[Sum[b[k, d]*b[n-d^2-k, d], {k, 0, n-d^2}]*d, {d, 1, Sqrt[n]}]; Table[g[n], {n, 0, 70}] // Differences (* Jean-François Alcover, Feb 21 2017, after Alois P. Heinz *)

Formula

a(n) ~ log(2) * exp(Pi*sqrt(2*n/3)) / (4*n*sqrt(3)). - Vaclav Kotesovec, Jan 03 2019

A211025 Triangle read by rows: T(n,k) = total sum of parts in the last section of the set of partitions of n after k-th stage.

Original entry on oeis.org

1, 1, 3, 1, 2, 5, 1, 2, 3, 5, 7, 11, 1, 2, 3, 4, 5, 7, 10, 15, 1, 2, 3, 4, 5, 6, 7, 9, 11, 13, 15, 19, 22, 25, 31, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 18, 20, 25, 28, 32, 39, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 19, 21, 23, 25, 27
Offset: 1

Views

Author

Omar E. Pol, Apr 25 2012

Keywords

Comments

Also triangle read by rows in which row n lists the partial sums of row n of triangle A135010.
This triangle shows the growth of the last sections of the partitions of n step by step. At stage k one part of size A135010(n,k) is added to the structure of the n-th shell.

Examples

			For row n = 5 of triangle we have:
-------------------------------------
Column  Zone    The 5th    Total sum
k                shell     of parts
-------------------------------------
8    <>   7       (5)         15
7    <>   6    (3...          10
6    =    6     ...2)          7
5    =    5       (1)          5
4    =    4       (1)          4
3    =    3       (1)          3
2    =    2       (1)          2
1    =    1       (1)          1
.
Triangle begins:
1;
1,3;
1,2,5;
1,2,3,5,7,11;
1,2,3,4,5,7,10,15;
1,2,3,4,5,6,7,9,11,13,15,19,22,25,31;
1,2,3,4,5,6,7,8,9,10,11,13,15,18,20,25,28,32,39;
		

Crossrefs

Row n has length A138137(n). Right border gives A138879.

A211986 A list of certain compositions which arise from the ordered partitions of the positive integers in which the shells of each integer are arranged as the arms of a spiral.

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Aug 19 2012

Keywords

Comments

In order to construct this sequence we use the following rules:
- Consider the partitions of positive integers.
- For each positive integer its shells must be arranged as the arms of a spiral.
- The sequence lists one spiral for each positive integer.
- If the integer j is odd then the first composition listed of each spiral is j.
- If the integer j is even then we use the same spiral of A211988.

Examples

			----------------------------------------------
.                 Expanded         Geometric
Compositions     arrangement         model
----------------------------------------------
1;                    1;              |*|
----------------------------------------------
2;                  2 .;            |* *|
1,1;                1,1;            |*|o|
----------------------------------------------
3;                  . . 3;          |* * *|
1,1,1;              1,1,1;          |o|o|*|
2,1;                2 .,1;          |o o|*|
----------------------------------------------
4,;               4 . . .;        |* * * *|
2,2;              2 .,2 .;        |* *|* *|
1,2,1;            1,2 .,1;        |*|o o|o|
1,1,1,1,;         1,1,1,1;        |*|o|o|o|
1,3;              1,. . 3;        |*|o o o|
----------------------------------------------
5;                . . . . 5;      |* * * * *|
3,2;              . . 3,. 2;      |* * *|* *|
1,3,1;            1,. . 3,1;      |o|o o o|*|
1,1,1,1,1;        1,1,1,1,1;      |o|o|o|o|*|
1,2,1,1;          1,2 .,1,1;      |o|o o|o|*|
2,2,1;            2 .,2 .,1;      |o o|o o|*|
4,1;              4 . . .,1;      |o o o o|*|
----------------------------------------------
6;              6 . . . . .;    |* * * * * *|
3,3;            3 . .,3 . .;    |* * *|* * *|
2,4;            2 .,4 . . .;    |* *|* * * *|
2,2,2;          2 .,2 .,2 .;    |* *|* *|* *|
1,4,1;          1,4 . . .,1;    |*|o o o o|o|
1,2,2,1;        1,2 .,2 .,1;    |*|o o|o o|o|
1,1,2,1,1;      1,1,2 .,1,1;    |*|o|o o|o|o|
1,1,1,1,1,1;    1,1,1,1,1,1;    |*|o|o|o|o|o|
1,1,3,1;        1,1,. . 3,1;    |*|o|o o o|o|
1,3,2;          1,. . 3,. 2;    |*|o o o|o o|
1,5;            1,. . . . 5;    |*|o o o o o|
------------------------------------------------
Note that * is a unitary element of every part of the last section of j.
		

Crossrefs

Rows sums give A036042, n>=1.
Mirror of A211985. Other spiral versions are A211987, A211988, A211995-A211998. See also A026792, A211983, A211984, A211989, A211992, A211993, A211994, A211999.

A211987 A list of certain compositions which arise from the ordered partitions of the positive integers in which the shells of each integer are arranged as a spiral.

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Aug 18 2012

Keywords

Comments

In order to construct this sequence we use the following rules:
- Consider the partitions of positive integers.
- For each positive integer its shells must be arranged in a spiral.
- The sequence lists one spiral for each positive integer.
- If the integer j is odd then the last composition listed of each spiral is j.
- If the integer j is even then the first composition listed of each spiral is j.
This sequence represents a three-dimensional structure in which each column contains parts of the same size.

Examples

			----------------------------------------------
.                Expanded        Geometric
Compositions    arrangement        model
----------------------------------------------
1;                  1;              |*|
----------------------------------------------
2;                  . 2;            |* *|
1,1;                1,1;            |o|*|
----------------------------------------------
1,2;              1,. 2;          |*|o o|
1,1,1;            1,1,1;          |*|o|o|
3;                3 . .;          |* * *|
----------------------------------------------
4,;               . . . 4;        |* * * *|
2,2;              . 2,. 2;        |* *|* *|
1,2,1;            1,. 2,1;        |o|o o|*|
1,1,1,1,;         1,1,1,1;        |o|o|o|*|
3,1;              3 . .,1;        |o o o|*|
----------------------------------------------
1,4;            1,. . . 4;      |*|o o o o|
1,2,2;          1,. 2,. 2;      |*|o o|o o|
1,1,2,1;        1,1,. 2,1;      |*|o|o o|o|
1,1,1,1,1;      1,1,1,1,1;      |*|o|o|o|o|
1,3,1;          1,3 . .,1;      |*|o o o|o|
2,3;            2 .,3 . .;      |* *|* * *|
5;              5 . . . .;      |* * * * *|
----------------------------------------------
6;              . . . . . 6;    |* * * * * *|
3,3;            . . 3,. . 3;    |* * *|* * *|
4,2;            . . . 4,. 2;    |* * * *|* *|
2,2,2;          . 2,. 2,. 2;    |* *|* *|* *|
1,4,1;          1,. . . 4,1;    |o|o o o o|*|
1,2,2,1;        1,. 2,. 2,1;    |o|o o|o o|*|
1,1,2,1,1;      1,1,. 2,1,1;    |o|o|o o|o|*|
1,1,1,1,1,1;    1,1,1,1,1,1;    |o|o|o|o|o|*|
1,3,1,1;        1,3 . .,1,1;    |o|o o o|o|*|
2,3,1;          2 .,3 . .,1;    |o o|o o o|*|
5,1;            5 . . . .,1;    |o o o o o|*|
----------------------------------------------
Note that * is a unitary element of every part of the last section of j.
		

Crossrefs

Rows sums give A036042, n>=1.
Mirror of A211988. Other spiral versions are A211985, A211986, A211995-A211998. See also A026792, A211983, A211984, A211989, A211992, A211993, A211994, A211999.

A350357 Irregular triangle read by rows in which row n lists all elements of the arrangement of the correspondence divisor/part related to the last section of the set of partitions of n in the following order: row n lists the n-th row of A138121 followed by the n-th row of A336812.

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Dec 26 2021

Keywords

Examples

			Triangle begins:
[1], [1];
[2, 1], [1, 2];
[3, 1, 1], [1, 3, 1];
[4, 2, 2, 1, 1, 1], [1, 2, 4, 1, 2, 1];
[5, 3, 2, 1, 1, 1, 1, 1], [1, 5, 1, 3, 1, 2, 1, 1];
...
Illustration of the first six rows of triangle in an infinite table:
|---|---------|-----|-------|---------|-----------|-------------|---------------|
| n |         |  1  |   2   |    3    |     4     |      5      |       6       |
|---|---------|-----|-------|---------|-----------|-------------|---------------|
|   |         |     |       |         |           |             |  6            |
|   |         |     |       |         |           |             |  3 3          |
|   |         |     |       |         |           |             |  4 2          |
| P |         |     |       |         |           |             |  2 2 2        |
| A |         |     |       |         |           |  5          |    1          |
| R |         |     |       |         |           |  3 2        |      1        |
| T |         |     |       |         |  4        |    1        |      1        |
| S |         |     |       |         |  2 2      |      1      |        1      |
|   |         |     |       |  3      |    1      |      1      |        1      |
|   |         |     |  2    |    1    |      1    |        1    |          1    |
|   |         |  1  |    1  |      1  |        1  |          1  |            1  |
|---|---------|-----|-------|---------|-----------|-------------|---------------|
| D | A027750 |  1  |  1 2  |  1   3  |  1 2   4  |  1       5  |  1 2 3     6  |
| I | A027750 |     |       |  1      |  1 2      |  1   3      |  1 2   4      |
| V | A027750 |     |       |         |  1        |  1 2        |  1   3        |
| I | A027750 |     |       |         |           |  1          |  1 2          |
| S | A027750 |     |       |         |           |  1          |  1 2          |
| O | A027750 |     |       |         |           |             |  1            |
| R | A027750 |     |       |         |           |             |  1            |
| S |         |     |       |         |           |             |               |
|---|---------|-----|-------|---------|-----------|-------------|---------------|
.
For n = 6 in the upper zone of the above table we can see the parts of the last section of the set of partitions of 6 in reverse-colexicographic order in accordance with the 6th row of A138121.
In the lower zone of the table we can see the terms from the 6th row of A336812, these are the divisors of the numbers from the 6th row of A336811.
Note that in the lower zone of the table every row gives A027750.
The remarkable fact is that the elements in the lower zone of the arrangement are the same as the elements in the upper zone but in other order.
For an explanation of the connection of the elements of the upper zone with the elements of the lower zone, that is the correspondence divisor/part, see A336812 and A338156.
The growth of the upper zone of the table is in accordance with the growth of the modular prism described in A221529.
The growth of the lower zone of the table is in accordance with the growth of the tower described also in A221529.
The number of cubic cells added at n-th stage in each polycube is equal to A138879(10) = 150, hence the total number of cubic cells added at n-th stage is equal to 2*A138879(10) = 300, equaling the sum of the 10th row of this triangle.
		

Crossrefs

Companion of A350333.
Row sums give 2*A138879.
Row lengths give 2*A138137.

A139094 Largest part of the n-th row in the integrated diagram of the shell model of partitions.

Original entry on oeis.org

1, 2, 3, 2, 4, 3, 5, 2, 3, 4, 6, 3, 4, 5, 7, 2, 3, 4, 4, 5, 6, 8, 3, 3, 4, 5, 5, 6, 7, 9, 2, 3, 4, 4, 4, 5, 5, 6, 6, 7, 8, 10, 3, 3, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 9, 11, 2, 3, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 8, 8, 9, 10, 12
Offset: 1

Views

Author

Omar E. Pol, May 26 2008

Keywords

Crossrefs

A182284 Triangle read by rows: T(n,k) = number of parts in the k-th zone of the last section of the set of partitions of n.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Omar E. Pol, Apr 23 2012

Keywords

Examples

			Illustration of three arrangements of the last section of the set of partitions of 7 and the zone numbers:
--------------------------------------------------------
Zone \   a)                    b)                    c)
--------------------------------------------------------
15      (7)                   (7)       (. . . . . . 7)
14      (4+3)               (4+3)       (. . . 4 . . 3)
13      (5+2)               (5+2)       (. . . . 5 . 2)
12      (3+2+2)           (3+2+2)       (. . 3 . 2 . 2)
11        (1)                 (1)                   (1)
10          (1)               (1)                   (1)
9           (1)               (1)                   (1)
8             (1)             (1)                   (1)
7           (1)               (1)                   (1)
6             (1)             (1)                   (1)
5             (1)             (1)                   (1)
4               (1)           (1)                   (1)
3               (1)           (1)                   (1)
2                 (1)         (1)                   (1)
1                   (1)       (1)                   (1)
.
For n = 7 and k = 12 we can see that in the 12th zone of the last section there are three parts: 3, 2, 2, therefore T(7,12) = 3.
Written as a triangle begins:
1;
1,1;
1,1,1;
1,1,1,2,1;
1,1,1,1,1,2,1;
1,1,1,1,1,1,1,3,2,2,1;
1,1,1,1,1,1,1,1,1,1,1,3,2,2,1;
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,3,3,2,2,2,1;
		

Crossrefs

Row n has length A000041(n). Row sums give A138137.
Previous Showing 61-70 of 78 results. Next