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-5 of 5 results.

A206563 Triangle read by rows: T(n,k) = number of odd/even parts >= k in all partitions of n, if k is odd/even.

Original entry on oeis.org

1, 2, 1, 5, 1, 1, 8, 4, 1, 1, 15, 5, 3, 1, 1, 24, 11, 5, 3, 1, 1, 39, 15, 9, 4, 3, 1, 1, 58, 28, 13, 9, 4, 3, 1, 1, 90, 38, 23, 12, 8, 4, 3, 1, 1, 130, 62, 33, 21, 12, 8, 4, 3, 1, 1, 190, 85, 51, 29, 20, 11, 8, 4, 3, 1, 1, 268, 131, 73, 48, 28, 20, 11, 8, 4, 3, 1, 1
Offset: 1

Views

Author

Omar E. Pol, Feb 15 2012

Keywords

Comments

Let m and n be two positive integers such that m <= n. It appears that any set formed by m connected sections, or m disconnected sections, or a mixture of both, has the same properties described in the section example. (Cf. A135010, A207031, A207032, A212010). - Omar E. Pol, May 01 2012

Examples

			Calculation for n = 6. Write the partitions of 6 and below the sums of their columns:
.
.   6
.   3 + 3
.   4 + 2
.   2 + 2 + 2
.   5 + 1
.   3 + 2 + 1
.   4 + 1 + 1
.   2 + 2 + 1 + 1
.   3 + 1 + 1 + 1
.   2 + 1 + 1 + 1 + 1
.   1 + 1 + 1 + 1 + 1 + 1
. ------------------------
.  35, 16,  8,  4,  2,  1  --> Row 6 of triangle A181187.
.   |  /|  /|  /|  /|  /|
.   | / | / | / | / | / |
.   |/  |/  |/  |/  |/  |
.  19,  8,  4,  2,  1,  1  --> Row 6 of triangle A066633.
.
More generally, it appears that the sum of column k is also the total number of parts >= k in all partitions of n. It appears that the first differences of the column sums together with 1 give the number of occurrences of k in all partitions of n.
On the other hand we can see that the partitions of 6 contain:
24  odd parts >= 1 (the odd parts).
11 even parts >= 2 (the even parts).
5   odd parts >= 3.
3  even parts >= 4.
2   odd parts >= 5.
1  even part  >= 6.
Then, using the values of the column sums, it appears that:
T(6,1) = 35 - 16 + 8 - 4 + 2 - 1 = 24
T(6,2) =      16 - 8 + 4 - 2 + 1 = 11
T(6,3) =           8 - 4 + 2 - 1 = 5
T(6,4) =               4 - 2 + 1 = 3
T(6,5) =                   2 - 1 = 1
T(6,6) =                       1 = 1
So the 6th row of our triangle gives 24, 11, 5, 3, 1, 1.
Finally, for all partitions of 6, we can write:
The number of  odd parts      is equal to T(6,1) = 24.
The number of even parts      is equal to T(6,2) = 11.
The number of  odd parts >= 3 is equal to T(6,3) = 5.
The number of even parts >= 4 is equal to T(6,4) = 3.
The number of  odd parts >= 5 is equal to T(6,5) = 1.
The number of even parts >= 6 is equal to T(6,6) = 1.
More generally, we can write the same properties for any positive integer.
Triangle begins:
1;
2,    1;
5,    1,  1;
8,    4,  1,  1;
15,   5,  3,  1,  1;
24,  11,  5,  3,  1,  1;
39,  15,  9,  4,  3,  1,  1;
58,  28, 13,  9,  4,  3,  1,  1;
90,  38, 23, 12,  8,  4,  3,  1,  1;
130, 62, 33, 21, 12,  8,  4,  3,  1,  1;
		

Crossrefs

Formula

It appears that T(n,k) = abs(Sum_{j=k..n} (-1)^j*A181187(n,j)).
It appears that A066633(n,k) = T(n,k) - T(n,k+2). - Omar E. Pol, Feb 26 2012

Extensions

More terms from Alois P. Heinz, Feb 18 2012

A212000 Triangle read by rows: T(n,k) = total number of parts in the last n-k+1 shells of n.

Original entry on oeis.org

1, 3, 2, 6, 5, 3, 12, 11, 9, 6, 20, 19, 17, 14, 8, 35, 34, 32, 29, 23, 15, 54, 53, 51, 48, 42, 34, 19, 86, 85, 83, 80, 74, 66, 51, 32, 128, 127, 125, 122, 116, 108, 93, 74, 42, 192, 191, 189, 186, 180, 172, 157, 138, 106, 64, 275, 274, 272, 269, 263, 255, 240
Offset: 1

Views

Author

Omar E. Pol, Apr 26 2012

Keywords

Comments

The set of partitions of n contains n shells (see A135010). Let m and n be two positive integers such that m <= n. It appears that in any set formed by m connected shells, or m disconnected shells, or a mixture of both, the sum of all parts of the j-th column equals the total number of parts >= j in the same set (see example). More generally it appears that any of these sets has the same properties mentioned in A206563 and A207031.
It appears that the last k shells of n contain p(n-k) parts of size k, where p(n) = A000041(n). See also A182703.

Examples

			For n = 5 the illustration shows five sets containing the last n-k+1 shells of 5 and below we can see that the sum of all parts of the first column equals the total number of parts in each set:
--------------------------------------------------------
.  S{1-5}     S{2-5}     S{3-5}     S{4-5}     S{5}
--------------------------------------------------------
.  The        Last       Last       Last       The
.  five       four       three      two        last
.  shells     shells     shells     shells     shell
.  of 5       of 5       of 5       of 5       of 5
--------------------------------------------------------
.
.  5          5          5          5          5
.  3+2        3+2        3+2        3+2        3+2
.  4+1        4+1        4+1        4+1          1
.  2+2+1      2+2+1      2+2+1      2+2+1          1
.  3+1+1      3+1+1      3+1+1        1+1          1
.  2+1+1+1    2+1+1+1      1+1+1        1+1          1
.  1+1+1+1+1    1+1+1+1      1+1+1        1+1          1
. ---------- ---------- ---------- ---------- ----------
. 20         19         17         14          8
.
So row 5 lists 20, 19, 17, 14, 8.
.
Triangle begins:
1;
3,     2;
6,     5,   3;
12,   11,   9,   6;
20,   19,  17,  14,  8;
35,   34,  32,  29,  23,  15;
54,   53,  51,  48,  42,  34,  19;
86,   85,  83,  80,  74,  66,  51,  32;
128, 127, 125, 122, 116, 108,  93,  74,  42;
192, 191, 189, 186, 180, 172, 157, 138, 106, 64;
		

Crossrefs

Mirror of triangle A212010. Column 1 is A006128. Right border gives A138137.

Formula

T(n,k) = A006128(n) - A006128(k-1).
T(n,k) = Sum_{j=k..n} A138137(j).

A212001 Triangle read by rows: T(n,k) = sum of all parts of the last n-k+1 shells of n.

Original entry on oeis.org

1, 4, 3, 9, 8, 5, 20, 19, 16, 11, 35, 34, 31, 26, 15, 66, 65, 62, 57, 46, 31, 105, 104, 101, 96, 85, 70, 39, 176, 175, 172, 167, 156, 141, 110, 71, 270, 269, 266, 261, 250, 235, 204, 165, 94, 420, 419, 416, 411, 400, 385, 354, 315, 244, 150, 616, 615
Offset: 1

Views

Author

Omar E. Pol, Apr 26 2012

Keywords

Comments

The set of partitions of n contains n shells (see A135010). It appears that the last k shells of n contain p(n-k) parts of size k, where p(n) = A000041(n). See also A182703.

Examples

			For n = 5 the illustration shows five sets containing the last n-k+1 shells of 5 and below the sum of all parts of each set:
--------------------------------------------------------
.  S{1-5}     S{2-5}     S{3-5}     S{4-5}     S{5}
--------------------------------------------------------
.  The        Last       Last       Last       The
.  five       four       three      two        last
.  shells     shells     shells     shells     shell
.  of 5       of 5       of 5       of 5       of 5
--------------------------------------------------------
.
.  5          5          5          5          5
.  3+2        3+2        3+2        3+2        3+2
.  4+1        4+1        4+1        4+1          1
.  2+2+1      2+2+1      2+2+1      2+2+1          1
.  3+1+1      3+1+1      3+1+1        1+1          1
.  2+1+1+1    2+1+1+1      1+1+1        1+1          1
.  1+1+1+1+1    1+1+1+1      1+1+1        1+1          1
. ---------- ---------- ---------- ---------- ----------
.     35         34         31         26         15
.
So row 5 lists 35, 34, 31, 26, 15.
.
Triangle begins:
1;
4,     3;
9,     8,   5;
20,   19,  16,  11;
35,   34,  31,  26,  15;
66,   65,  62,  57,  46,  31;
105, 104, 101,  96,  85,  70,  39;
176, 175, 172, 167, 156, 141, 110,  71;
270, 269, 266, 261, 250, 235, 204, 165,  94;
420, 419, 416, 411, 400, 385, 354, 315, 244, 150;
		

Crossrefs

Mirror of triangle A212011. Column 1 is A066186. Right border is A138879.

Formula

T(n,k) = A066186(n) - A066186(k-1).
T(n,k) = Sum_{j=k..n} A138879(j).

A212011 Triangle read by rows: T(n,k) = sum of all parts of the last k shells of n.

Original entry on oeis.org

1, 3, 4, 5, 8, 9, 11, 16, 19, 20, 15, 26, 31, 34, 35, 31, 46, 57, 62, 65, 66, 39, 70, 85, 96, 101, 104, 105, 71, 110, 141, 156, 167, 172, 175, 176, 94, 165, 204, 235, 250, 261, 266, 269, 270, 150, 244, 315, 354, 385, 400, 411, 416, 419, 420, 196, 346
Offset: 1

Views

Author

Omar E. Pol, Apr 26 2012

Keywords

Comments

The set of partitions of n contains n shells (see A135010). It appears that the last k shells of n contain p(n-k) parts of size k, where p(n) = A000041(n). See also A182703.

Examples

			For n = 5 the illustration shows five sets containing the last k shells of 5 and below we can see that the sum of all parts of in each set:
--------------------------------------------------------
.  S{5}       S{4-5}     S{3-5}     S{2-5}     S{1-5}
--------------------------------------------------------
.  The        Last       Last       Last       The
.  last       two        three      four       five
.  shell      shells     shells     shells     shells
.  of 5       of 5       of 5       of 5       of 5
--------------------------------------------------------
.
.  5          5          5          5          5
.  3+2        3+2        3+2        3+2        3+2
.    1        4+1        4+1        4+1        4+1
.      1      2+2+1      2+2+1      2+2+1      2+2+1
.      1        1+1      3+1+1      3+1+1      3+1+1
.        1        1+1      1+1+1    2+1+1+1    2+1+1+1
.          1        1+1      1+1+1    1+1+1+1  1+1+1+1+1
. ---------- ---------- ---------- ---------- ----------
.     15         26         31         34         35
.
So row 5 lists 15, 26, 31, 34, 35.
.
Triangle begins:
1;
3,     4;
5,     8,   9;
11,   16,  19,  20;
15,   26,  31,  34,  35;
31,   46,  57,  62,  65,  66;
39,   70,  85,  96, 101, 104, 105;
71,  110, 141, 156, 167, 172, 175, 176;
94,  165, 204, 235, 250, 261, 266, 269, 270;
150, 244, 315, 354, 385, 400, 411, 416, 419, 420;
		

Crossrefs

Mirror of triangle A212001. Column 1 is A138879. Right border is A066186.

Formula

T(n,k) = A066186(n) - A066186(n-k).
T(n,k) = Sum_{j=n-k+1..n} A138879(j).

A211990 Triangle read by rows: T(n,k) = total number of regions in the last k shells of n.

Original entry on oeis.org

1, 1, 2, 1, 2, 3, 2, 3, 4, 5, 2, 4, 5, 6, 7, 4, 6, 8, 9, 10, 11, 4, 8, 10, 12, 13, 14, 15, 7, 11, 15, 17, 19, 20, 21, 22, 8, 15, 19, 23, 25, 27, 28, 29, 30, 12, 20, 27, 31, 35, 37, 39, 40, 41, 42, 14, 26, 34, 41, 45, 49, 51, 53, 54, 55, 56, 21, 35, 47
Offset: 1

Views

Author

Omar E. Pol, Apr 27 2012

Keywords

Comments

For the definition of "region of n" see A206437. For the definition of "last section of n" see A135010.
Apparently differs from A027300 at the right border.

Examples

			For n = 5 and k = 2 we have that the 4th shell of 5 contains two regions: [2] and [4,2,1,1,1]. Then we can see that the 5th shell of 5 contains two regions: [3] and [5,2,1,1,1,1,1]. Therefore the total number of regions in the last two shells of 5 is T(5,2) = 2+2 = 4 (see illustration in the link section).
Triangle begins:
1;
1,   2;
1,   2,  3;
2,   3,  4,  5;
2,   4,  5,  6,  7;
4,   6,  8,  9, 10, 11;
4,   8, 10, 12, 13, 14, 15;
7,  11, 15, 17, 19, 20, 21, 22;
8,  15, 19, 23, 25, 27, 28, 29, 30;
12, 20, 27, 31, 35, 37, 39, 40, 41, 42;
14, 26, 34, 41, 45, 49, 51, 53, 54, 55, 56;
21, 35, 47, 55, 62, 66, 70, 72, 74, 75, 76, 77;
		

Crossrefs

Mirror of triangle A211980. Column 1 is A187219. Right border gives A000041, n >= 1.

Formula

T(n,k) = A000041(n) - A000041(n-k), if 1
T(n,k) = A000041(n), if k = n.
T(n,k) = Sum_{j=1..k} A187219(n-j+1,1).
Showing 1-5 of 5 results.