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 21-30 of 50 results. Next

A340423 Irregular triangle read by rows T(n,k) in which row n has length A000041(n-1) and every column k is A024916, n >= 1, k >= 1.

Original entry on oeis.org

1, 4, 8, 1, 15, 4, 1, 21, 8, 4, 1, 1, 33, 15, 8, 4, 4, 1, 1, 41, 21, 15, 8, 8, 4, 4, 1, 1, 1, 1, 56, 33, 21, 15, 15, 8, 8, 4, 4, 4, 4, 1, 1, 1, 1, 69, 41, 33, 21, 21, 15, 15, 8, 8, 8, 8, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 87, 56, 41, 33, 33, 21, 21, 15, 15, 15, 15, 8, 8, 8, 8
Offset: 1

Views

Author

Omar E. Pol, Jan 07 2021

Keywords

Comments

T(n,k) is the number of cubic cells (or cubes) in the k-th level starting from the base of the tower described in A221529 whose largest side of the base is equal to n (see example). - Omar E. Pol, Jan 08 2022

Examples

			Triangle begins:
   1;
   4;
   8,  1;
  15,  4,  1;
  21,  8,  4,  1,  1;
  33, 15,  8,  4,  4,  1,  1;
  41, 21, 15,  8,  8,  4,  4, 1, 1, 1, 1;
  56, 33, 21, 15, 15,  8,  8, 4, 4, 4, 4, 1, 1, 1, 1;
  69, 41, 33, 21, 21, 15, 15, 8, 8, 8, 8, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1;
...
For n = 9 the length of row 9 is A000041(9-1) = 22.
From _Omar E. Pol_, Jan 08 2022: (Start)
For n = 9 the lateral view and top view of the tower described in A221529 look like as shown below:
                        _
    22        1        | |
    21        1        | |
    20        1        | |
    19        1        | |
    18        1        | |
    17        1        | |
    16        1        |_|_
    15        4        |   |
    14        4        |   |
    13        4        |   |
    12        4        |_ _|_
    11        8        |   | |
    10        8        |   | |
     9        8        |   | |
     8        8        |_ _|_|_
     7       15        |     | |
     6       15        |_ _ _| |_
     5       21        |     |   |
     4       21        |_ _ _|_ _|_
     3       33        |_ _ _ _| | |_
     2       41        |_ _ _ _|_|_ _|_ _
     1       69        |_ _ _ _ _|_ _|_ _|
.
   Level   Row 9         Lateral view
     k     T(9,k)        of the tower
.
                        _ _ _ _ _ _ _ _ _
                       |_| | | | | | |   |
                       |_ _|_| | | | |   |
                       |_ _|  _|_| | |   |
                       |_ _ _|    _|_|   |
                       |_ _ _|  _|    _ _|
                       |_ _ _ _|     |
                       |_ _ _ _|  _ _|
                       |         |
                       |_ _ _ _ _|
.
                           Top view
                         of the tower
.
For n = 9 and k = 1 there are 69 cubic cells in the level 1 starting from the base of the tower, so T(9,1) = 69.
For n = 9 and k = 22 there is only one cubic cell in the level 22 (the top) of the tower, so T(9,22) = 1.
The volume of the tower (also the total number of cubic cells) represents the 9th term of the convolution of A000203 and A000041 hence it's equal to A066186(9) = 270, equaling the sum of the 9th row of triangle. (End)
		

Crossrefs

Row sums give A066186.
Row lengths give A000041.
The length of the m-th block in row n is A187219(m), m >= 1.
Cf. A350637 (analog for the stepped pyramid described in A245092).

Programs

  • PARI
    f(n) = numbpart(n-1);
    T(n, k) = {if (k > f(n), error("invalid k")); if (k==1, return (n)); my(s=0); while (k <= f(n-1), s++; n--; ); 1+s; } \\ A336811
    g(n) = sum(k=1, n, n\k*k); \\ A024916
    row(n) = vector(f(n), k, g(T(n,k))); \\ Michel Marcus, Jan 22 2022

Formula

T(n,k) = A024916(A336811(n,k)).
T(n,k) = Sum_{j=1..n} A339278(j,k). - Omar E. Pol, Jan 08 2022

A340584 Irregular triangle read by rows T(n,k) in which row n lists sigma(n) + sigma(n-1) together with the first n - 2 terms of A000203 in reverse order, with T(1,1) = 1, n >= 1.

Original entry on oeis.org

1, 4, 7, 1, 11, 3, 1, 13, 4, 3, 1, 18, 7, 4, 3, 1, 20, 6, 7, 4, 3, 1, 23, 12, 6, 7, 4, 3, 1, 28, 8, 12, 6, 7, 4, 3, 1, 31, 15, 8, 12, 6, 7, 4, 3, 1, 30, 13, 15, 8, 12, 6, 7, 4, 3, 1, 40, 18, 13, 15, 8, 12, 6, 7, 4, 3, 1, 42, 12, 18, 13, 15, 8, 12, 6, 7, 4, 3, 1, 38, 28, 12, 18, 13, 15, 8, 12, 6, 7, 4, 3, 1
Offset: 1

Views

Author

Omar E. Pol, Jan 12 2021

Keywords

Comments

T(n,k) is the total area (or number of cells) of the terraces that are in the k-th level that contains terraces starting from the base of the symmetric tower (a polycube) described in A221529 which has A000041(n-1) levels in total. The terraces of the polycube are the symmetric representation of sigma. The terraces are in the levels that are the partition numbers A000041 starting from the base. Note that for n >= 2 there are n - 1 terraces because the first terrace of the tower is formed by two symmetric representations of sigma in the same level. The volume (or the number of cubes) equals A066186(n), the sum of all parts of all partitions of n. The volume is also the sum of all divisors of all terms of the first n rows of A336811. That is due to the correspondence between divisors and partitions (cf. A336811). The growth of the volume (A066186) represents the convolution of A000203 and A000041.

Examples

			Triangle begins:
   1;
   4;
   7,  1;
  11,  3,  1;
  13,  4,  3,  1;
  18,  7,  4,  3,  1;
  20,  6,  7,  4,  3,  1;
  23, 12,  6,  7,  4,  3,  1;
  28,  8, 12,  6,  7,  4,  3,  1;
  31, 15,  8, 12,  6,  7,  4,  3,  1;
  30, 13, 15,  8, 12,  6,  7,  4,  3,  1;
  40, 18, 13, 15,  8, 12,  6,  7,  4,  3,  1;
  42, 12, 18, 13, 15,  8, 12,  6,  7,  4,  3,  1;
  38, 28, 12, 18, 13, 15,  8, 12,  6,  7,  4,  3,  1;
...
For n = 7, sigma(7) = 1 + 7 = 8 and sigma(6) = 1 + 2 + 3 + 6 = 12, and 8 + 12 = 20, so the first term of row 7 is T(7,1) = 20. The other terms in row 7 are the first five terms of A000203 in reverse order, that is [6, 7, 4, 3, 1] so the 7th row of the triangle is [20, 6, 7, 4, 3, 1].
From _Omar E. Pol_, Jul 11 2021: (Start)
For n = 7 we can see below the top view and the lateral view of the pyramid described in A245092 (with seven levels) and the top view and the lateral view of the tower described in A221529 (with 11 levels).
                                           _
                                          | |
                                          | |
                                          | |
        _                                 |_|_
       |_|_                               |   |
       |_ _|_                             |_ _|_
       |_ _|_|_                           |   | |
       |_ _ _| |_                         |_ _|_|_
       |_ _ _|_ _|_                       |_ _ _| |_
       |_ _ _ _| | |_                     |_ _ _|_ _|_ _
       |_ _ _ _|_|_ _|                    |_ _ _ _|_|_ _|
.
         Figure 1.                           Figure 2.
        Lateral view                       Lateral view
       of the pyramid.                     of the tower.
.
.       _ _ _ _ _ _ _                      _ _ _ _ _ _ _
       |_| | | | | | |                    |_| | | | |   |
       |_ _|_| | | | |                    |_ _|_| | |   |
       |_ _|  _|_| | |                    |_ _|  _|_|   |
       |_ _ _|    _|_|                    |_ _ _|    _ _|
       |_ _ _|  _|                        |_ _ _|  _|
       |_ _ _ _|                          |       |
       |_ _ _ _|                          |_ _ _ _|
.
          Figure 3.                          Figure 4.
          Top view                           Top view
       of the pyramid.                     of the tower.
.
Both polycubes have the same base which has an area equal to A024916(7) = 41 equaling the sum of the 7th row of triangle.
Note that in the top view of the tower the symmetric representation of sigma(6) and the symmetric representation of sigma(7) appear unified in the level 1 of the structure as shown above in the figure 4 (that is due to the first two partition numbers A000041 are [1, 1]), so T(7,1) = sigma(7) + sigma(6) = 8 + 12 = 20. (End)
		

Crossrefs

The length of row n is A028310(n-1).
Row sums give A024916.
Column 1 gives 1 together with A092403.
Other columns give A000203.
Cf. A175254 (volume of the pyramid).
Cf. A066186 (volume of the tower).
Cf. A346533 (mirror).

Programs

  • Mathematica
    Table[If[n <= 2, {Total@ #}, Prepend[#2, Total@ #1] & @@ TakeDrop[#, 2]] &@ DivisorSigma[1, Range[n, 1, -1]], {n, 14}] // Flatten (* Michael De Vlieger, Jan 13 2021 *)

A345023 a(n) is the surface area of the symmetric tower described in A221529 which is a polycube whose successive terraces are the symmetric representation of sigma A000203(i) (from i = 1 to n) starting from the top and the levels of these terraces are the partition numbers A000041(h-1) (from h = 1 to n) starting from the base.

Original entry on oeis.org

6, 16, 32, 58, 90, 142, 202, 292, 406, 562, 754, 1034, 1370, 1822, 2410, 3176, 4136, 5402, 6982, 9026, 11598, 14838, 18894, 24034, 30396, 38312, 48136, 60288, 75220, 93624, 116104, 143598, 177090, 217770, 267106, 326820, 398804, 485472, 589644, 714564, 864000, 1042524, 1255308
Offset: 1

Views

Author

Omar E. Pol, Jun 05 2021

Keywords

Comments

The largest side of the base of the tower has length n.
The base of the tower is the symmetric representation of A024916(n).
The volume of the tower is equal to A066186(n).
The area of each lateral view of the tower is equal to A000070(n-1).
The growth of the volume of the tower represents the convolution of A000203 and A000041.
The above results are because the correspondence between divisors and partitions described in A338156 and A336812.
The tower is also a member of the family of the stepped pyramid described in A245092.
The equivalent sequence for the surface area of the stepped pyramid is A328366.

Examples

			For n = 7 we can see below some views of two associated polycubes called "prism of partitions" and "tower". Both objects contains the same number of cubes (that property is also valid for n >= 1).
     _ _ _ _ _ _ _
    |_ _ _ _      |                 7
    |_ _ _ _|_    |           4     3
    |_ _ _    |   |             5   2
    |_ _ _|_ _|_  |         3   2   2                                    _
    |_ _ _      | |               6 1                 1                 | |
    |_ _ _|_    | |         3     3 1                 1                 | |
    |_ _    |   | |           4   2 1                 1                 | |
    |_ _|_ _|_  | |       2   2   2 1                 1                _|_|
    |_ _ _    | | |             5 1 1               1 1               |   |
    |_ _ _|_  | | |         3   2 1 1               1 1              _|_ _|
    |_ _    | | | |           4 1 1 1             1 1 1             | |   |
    |_ _|_  | | | |       2   2 1 1 1             1 1 1            _|_|_ _|
    |_ _  | | | | |         3 1 1 1 1           1 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     |_ _|_|_ _ _ _|
.
       Figure 1.           Figure 2.        Figure 3.           Figure 4.
   Front view of the      Partitions        Position          Lateral view
  prism of partitions.       of 7.         of the 1's.        of the tower.
.
.
                                                             _ _ _ _ _ _ _
                                                            |   | | | | |_|  1
                                                            |   | | |_|_ _|  2
                                                            |   |_|_  |_ _|  3
                                                            |_ _    |_ _ _|  4
                                                                |_  |_ _ _|  5
                                                                  |       |  6
                                                                  |_ _ _ _|  7
.
                                                               Figure 5.
                                                               Top view
                                                             of the tower.
.
Figure 1 is a two-dimensional diagram of the partitions of 7. The area of the diagram is A066186(7) = 105. Note that the diagram can be interpreted also as the front view of a right prism whose volumen is 1*7*A000041(7) = 1*7*15 = 105, equaling the volume of the tower that appears in the figures 4 and 5.
Figure 2 shows the partitions of 7 in accordance with the diagram.
Note that the shape and the area of the lateral view of the tower are the same as the shape and the area where the 1's are located in the diagram of partitions, see the figures 3 and 4. In this case the mentioned area equals A000070(7-1) = 30.
The connection between these two objects is a representation of the correspondence divisor/part described in A338156. See also A336812.
		

Crossrefs

Programs

  • Mathematica
    Accumulate @ Table[4 * PartitionsP[k-1] + 2 * DivisorSigma[1, k], {k, 1, 50}] (* Amiram Eldar, Jul 14 2021 *)

Formula

a(n) = 4*A000070(n-1) + 2*A024916(n).
a(n) = 4*A000070(n-1) + A327329(n).

A206435 Total sum of odd parts in the last section of the set of partitions of n.

Original entry on oeis.org

1, 1, 5, 3, 13, 13, 29, 29, 66, 70, 126, 146, 241, 287, 450, 526, 791, 963, 1360, 1660, 2312, 2810, 3799, 4649, 6158, 7528, 9824, 11962, 15393, 18773, 23804, 28932, 36413, 44093, 54953, 66419, 82085, 98929, 121469, 145865, 177983, 213241, 258585, 308861
Offset: 1

Views

Author

Omar E. Pol, Feb 12 2012

Keywords

Comments

From Omar E. Pol, Apr 09 2023: (Start)
Convolution of A002865 and A000593.
a(n) is also the total sum of odd divisors of the terms in the n-th row of the triangle A336811.
a(n) is also the sum of odd terms in the n-th row of the triangle A207378.
a(n) is also the sum of odd terms in the n-th row of the triangle A336812. (End)

Crossrefs

Programs

  • Maple
    b:= proc(n, i) option remember; local g, h;
          if n=0 then [1, 0]
        elif i<1 then [0, 0]
        else g:= b(n, i-1); h:= `if`(i>n, [0, 0], b(n-i, i));
             [g[1]+h[1], g[2]+h[2] +(i mod 2)*h[1]*i]
          fi
        end:
    a:= n-> b(n, n)[2] -`if`(n=1, 0, b(n-1, n-1)[2]):
    seq(a(n), n=1..60);  # Alois P. Heinz, Mar 16 2012
  • Mathematica
    b[n_, i_] := b[n, i] = Module[{g, h}, Which[n == 0, {1, 0}, i < 1, {0, 0}, True, g = b[n, i-1]; h = If[i > n, {0, 0}, b[n-i, i]]; {g[[1]] + h[[1]], g[[2]] + h[[2]] + Mod[i, 2]*h[[1]]*i}]]; a[n_] := b[n, n][[2]] - If[n == 1, 0, b[n-1, n-1][[2]]]; Table[a[n], {n, 1, 60}] (* Jean-François Alcover, Feb 16 2017, after Alois P. Heinz *)

Formula

G.f.: (Sum_{i>=0} (2*i+1)*x^(2*i)*(1-x)/(1-x^(2*i+1))) / Product_{j>0} (1-x^j). - Alois P. Heinz, Mar 16 2012
a(n) ~ Pi * exp(Pi*sqrt(2*n/3)) / (24*sqrt(2*n)). - Vaclav Kotesovec, May 29 2018

Extensions

More terms from Alois P. Heinz, Mar 16 2012

A206436 Total sum of even parts in the last section of the set of partitions of n.

Original entry on oeis.org

0, 2, 0, 8, 2, 18, 10, 42, 28, 80, 70, 162, 148, 290, 300, 530, 562, 918, 1020, 1570, 1780, 2602, 3022, 4286, 4992, 6858, 8110, 10872, 12888, 16962, 20178, 26134, 31138, 39728, 47412, 59848, 71312, 89072, 106176, 131440, 156400, 192164, 228330, 278616, 330502
Offset: 1

Views

Author

Omar E. Pol, Feb 12 2012

Keywords

Comments

Also total sum of even parts in the partitions of n that do not contain 1 as a part.
From Omar E. Pol, Apr 09 2023: (Start)
Convolution of A002865 and A146076.
a(n) is also the total sum of even divisors of the terms in the n-th row of the triangle A336811.
a(n) is also the sum of even terms in the n-th row of the triangle A207378.
a(n) is also the sum of even terms in the n-th row of the triangle A336812. (End)

Crossrefs

Programs

  • Maple
    b:= proc(n, i) option remember; local g, h;
          if n=0 then [1, 0]
        elif i<1 then [0, 0]
        else g:= b(n, i-1); h:= `if`(i>n, [0, 0], b(n-i, i));
             [g[1]+h[1], g[2]+h[2] +((i+1) mod 2)*h[1]*i]
          fi
        end:
    a:= n-> b(n, n)[2] -`if`(n=1, 0, b(n-1, n-1)[2]):
    seq(a(n), n=1..60);  # Alois P. Heinz, Mar 16 2012
  • Mathematica
    b[n_, i_] := b[n, i] = Module[{g, h}, Which[n == 0, {1, 0}, i < 1, {0, 0}, True, g = b[n, i-1]; h = If[i>n, {0, 0}, b[n-i, i]]; {g[[1]] + h[[1]], g[[2]] + h[[2]] + Mod[i+1, 2]*h[[1]]*i}]]; a[n_] := b[n, n][[2]] - If[n == 1, 0, b[n-1, n-1][[2]]]; Table[a[n], {n, 1, 60}] (* Jean-François Alcover, Feb 16 2017, after Alois P. Heinz *)

Formula

G.f.: (Sum_{i>0} 2*i*x^(2*i)*(1-x)/(1-x^(2*i))) / Product_{i>0} (1-x^i). - Alois P. Heinz, Mar 16 2012
a(n) ~ Pi * exp(Pi*sqrt(2*n/3)) / (24*sqrt(2*n)). - Vaclav Kotesovec, May 29 2018

Extensions

More terms from Alois P. Heinz, Mar 16 2012

A340057 Irregular triangle read by rows T(n,k) in which row n lists n blocks, where the block m consists of the divisors of m multiplied by A000041(n-m), with 1 <= m <= n.

Original entry on oeis.org

1, 1, 1, 2, 2, 1, 2, 1, 3, 3, 2, 4, 1, 3, 1, 2, 4, 5, 3, 6, 2, 6, 1, 2, 4, 1, 5, 7, 5, 10, 3, 9, 2, 4, 8, 1, 5, 1, 2, 3, 6, 11, 7, 14, 5, 15, 3, 6, 12, 2, 10, 1, 2, 3, 6, 1, 7, 15, 11, 22, 7, 21, 5, 10, 20, 3, 15, 2, 4, 6, 12, 1, 7, 1, 2, 4, 8, 22, 15, 30, 11, 33, 7, 14, 28, 5, 25
Offset: 1

Views

Author

Omar E. Pol, Dec 27 2020

Keywords

Comments

This triangle is a condensed version of the more irregular triangle A340035.
For further information about the correspondence divisor/part see A338156.

Examples

			Triangle begins:
  [1];
  [1],  [1, 2];
  [2],  [1, 2],  [1, 3];
  [3],  [2, 4],  [1, 3],  [1, 2, 4];
  [5],  [3, 6],  [2, 6],  [1, 2, 4],  [1, 5];
  [7],  [5, 10], [3, 9],  [2, 4, 8],  [1, 5],  [1, 2, 3, 6];
  [11], [7, 14], [5, 15], [3, 6, 12], [2, 10], [1, 2, 3, 6], [1, 7];
  ...
Row sums gives A066186.
Written as a tetrahedrons the first five slices are:
  --
  1;
  --
  1,
  1, 2;
  -----
  2,
  1, 2,
  1, 3;
  -----
  3,
  2, 4,
  1, 3,
  1, 2, 4;
  --------
  5,
  3, 6,
  2, 6,
  1, 2, 4,
  1, 5;
  --------
Row sums give A221529.
The slices of the tetrahedron appear in the upper zone of the following table (formed by four zones) which shows the correspondence between divisors and parts (n = 1..5):
.
|---|---------|-----|-------|---------|-----------|-------------|
| n |         |  1  |   2   |    3    |     4     |      5      |
|---|---------|-----|-------|---------|-----------|-------------|
|   |    -    |     |       |         |           |  5          |
| C |    -    |     |       |         |  3        |  3 6        |
| O |    -    |     |       |  2      |  2 4      |  2   6      |
| N | A027750 |     |  1    |  1 2    |  1   3    |  1 2   4    |
| D | A027750 |  1  |  1 2  |  1   3  |  1 2   4  |  1       5  |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
|   | A027750 |     |       |         |           |  1          |
|   | A027750 |     |       |         |           |  1          |
|   | A027750 |     |       |         |           |  1          |
|   | A027750 |     |       |         |           |  1          |
| D | A027750 |     |       |         |           |  1          |
| I |---------|-----|-------|---------|-----------|-------------|
| V | A027750 |     |       |         |  1        |  1 2        |
| I | A027750 |     |       |         |  1        |  1 2        |
| S | A027750 |     |       |         |  1        |  1 2        |
| O |---------|-----|-------|---------|-----------|-------------|
| R | A027750 |     |       |  1      |  1 2      |  1   3      |
| S | A027750 |     |       |  1      |  1 2      |  1   3      |
|   |---------|-----|-------|---------|-----------|-------------|
|   | A027750 |     |  1    |  1 2    |  1   3    |  1 2   4    |
|   |---------|-----|-------|---------|-----------|-------------|
|   | A027750 |  1  |  1 2  |  1   3  |  1 2   4  |  1       5  |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
|   | A138785 |  1  |  2 2  |  4 2 3  |  7 6 3 4  | 12 8 6 4 5  |
|   |         |  =  |  = =  |  = = =  |  = = = =  |  = = = = =  |
| L | A002260 |  1  |  1 2  |  1 2 3  |  1 2 3 4  |  1 2 3 4 5  |
| I |         |  *  |  * *  |  * * *  |  * * * *  |  * * * * *  |
| N | A066633 |  1  |  2 1  |  4 1 1  |  7 3 1 1  | 12 4 2 1 1  |
| K |         |  |  |  |\|  |  |\|\|  |  |\|\|\|  |  |\|\|\|\|  |
|   | A181187 |  1  |  3 1  |  6 2 1  | 12 5 2 1  | 20 8 4 2 1  |
|---|---------|-----|-------|---------|-----------|-------------|
.
|---|---------|-----|-------|---------|-----------|-------------|
| P |         |  1  |  1 1  |  1 1 1  |  1 1 1 1  |  1 1 1 1 1  |
| A |         |     |  2    |  2 1    |  2 1 1    |  2 1 1 1    |
| R |         |     |       |  3      |  3 1      |  3 1 1      |
| T |         |     |       |         |  2 2      |  2 2 1      |
| I |         |     |       |         |  4        |  4 1        |
| T |         |     |       |         |           |  3 2        |
| I |         |     |       |         |           |  5          |
| O |         |     |       |         |           |             |
| N |         |     |       |         |           |             |
| S |         |     |       |         |           |             |
|---|---------|-----|-------|---------|-----------|-------------|
.
The upper zone is a condensed version of the "divisors" zone.
The above table is the table of A340056 upside down.
		

Crossrefs

Programs

  • Mathematica
    A340057row[n_]:=Flatten[Table[Divisors[m]PartitionsP[n-m],{m,n}]];Array[A340057row,10] (* Paolo Xausa, Sep 02 2023 *)

A346533 Irregular triangle read by rows in which row n lists the first n - 2 terms of A000203 together with the sum of A000203(n-1) and A000203(n), with a(1) = 1.

Original entry on oeis.org

1, 4, 1, 7, 1, 3, 11, 1, 3, 4, 13, 1, 3, 4, 7, 18, 1, 3, 4, 7, 6, 20, 1, 3, 4, 7, 6, 12, 23, 1, 3, 4, 7, 6, 12, 8, 28, 1, 3, 4, 7, 6, 12, 8, 15, 31, 1, 3, 4, 7, 6, 12, 8, 15, 13, 30, 1, 3, 4, 7, 6, 12, 8, 15, 13, 18, 40, 1, 3, 4, 7, 6, 12, 8, 15, 13, 18, 12, 42, 1, 3, 4, 7, 6, 12, 8, 15, 13, 18, 12, 28, 38
Offset: 1

Views

Author

Omar E. Pol, Jul 22 2021

Keywords

Comments

T(n,k) is the total area (or number of cells) of the terraces that are in the k-th level that contains terraces starting from the top of the symmetric tower (a polycube) described in A221529.
The height of the tower equals A000041(n-1).
The terraces of the tower are the symmetric representation of sigma.
The terraces are in the levels that are the partition numbers A000041 starting from the base.
Note that for n >= 2 there are n - 1 terraces because the lower terrace of the tower is formed by two symmetric representations of sigma in the same level.

Examples

			Triangle begins:
  1;
  4;
  1, 7;
  1, 3, 11;
  1, 3,  4, 13;
  1, 3,  4,  7, 18;
  1, 3,  4,  7,  6, 20;
  1, 3,  4,  7,  6, 12, 23;
  1, 3,  4,  7,  6, 12,  8, 28;
  1, 3,  4,  7,  6, 12,  8, 15, 31;
  1, 3,  4,  7,  6, 12,  8, 15, 13, 30;
  1, 3,  4,  7,  6, 12,  8, 15, 13, 18, 40;
  1, 3,  4,  7,  6, 12,  8, 15, 13, 18, 12, 42;
  1, 3,  4,  7,  6, 12,  8, 15, 13, 18, 12, 28, 38;
  ...
For n = 7, sigma(7) = 1 + 7 = 8 and sigma(6) = 1 + 2 + 3 + 6 = 12, and 8 + 12 = 20, so the last term of row 7 is T(7,6) = 20. The other terms in row 7 are the first five terms of A000203, so the 7th row of the triangle is [1, 3, 4, 7, 6, 20].
For n = 7 we can see below the top view and the lateral view of the pyramid described in A245092 (with seven levels) and the top view and the lateral view of the tower described in A221529 (with 11 levels).
                                           _
                                          | |
                                          | |
                                          | |
        _                                 |_|_
       |_|_                               |   |
       |_ _|_                             |_ _|_
       |_ _|_|_                           |   | |
       |_ _ _| |_                         |_ _|_|_
       |_ _ _|_ _|_                       |_ _ _| |_
       |_ _ _ _| | |_                     |_ _ _|_ _|_ _
       |_ _ _ _|_|_ _|                    |_ _ _ _|_|_ _|
.
         Figure 1.                           Figure 2.
        Lateral view                       Lateral view
       of the pyramid.                     of the tower.
.
.       _ _ _ _ _ _ _                      _ _ _ _ _ _ _
       |_| | | | | | |                    |_| | | | |   |
       |_ _|_| | | | |                    |_ _|_| | |   |
       |_ _|  _|_| | |                    |_ _|  _|_|   |
       |_ _ _|    _|_|                    |_ _ _|    _ _|
       |_ _ _|  _|                        |_ _ _|  _|
       |_ _ _ _|                          |       |
       |_ _ _ _|                          |_ _ _ _|
.
          Figure 3.                          Figure 4.
          Top view                           Top view
       of the pyramid.                     of the tower.
.
Both polycubes have the same base which has an area equal to A024916(7) = 41 equaling the sum of the 7th row of triangle.
Note that in the top view of the tower the symmetric representation of sigma(6) and the symmetric representation of sigma(7) appear unified in the level 1 of the structure as shown above in the figure 4 (that is due the first two partition numbers A000041 are [1, 1]), so T(7,6) = sigma(7) + sigma(6) = 8 + 12 = 20.
.
Illustration of initial terms:
   Row 1    Row 2      Row 3      Row 4        Row 5          Row 6
.
    1        4         1 7        1 3 11       1 3 4 13       1 3 4 7 18
.   _        _ _       _ _ _      _ _ _ _      _ _ _ _ _      _ _ _ _ _ _
   |_|      |   |     |_|   |    |_| |   |    |_| | |   |    |_| | | |   |
            |_ _|     |    _|    |_ _|   |    |_ _|_|   |    |_ _|_| |   |
                      |_ _|      |      _|    |_ _|  _ _|    |_ _|  _|   |
                                 |_ _ _|      |     |        |_ _ _|    _|
                                              |_ _ _|        |        _|
                                                             |_ _ _ _|
.
		

Crossrefs

Mirror of A340584.
The length of row n is A028310(n-1).
Row sums give A024916.
Leading diagonal gives A092403.
Other diagonals give A000203.
Companion of A346562.
Cf. A175254 (volume of the pyramid).
Cf. A066186 (volume of the tower).

Programs

  • Mathematica
    A346533row[n_]:=If[n==1,{1},Join[DivisorSigma[1,Range[n-2]],{Total[DivisorSigma[1,{n-1,n}]]}]];Array[A346533row,15] (* Paolo Xausa, Oct 23 2023 *)

A206433 Total number of odd parts in the last section of the set of partitions of n.

Original entry on oeis.org

1, 1, 3, 3, 7, 9, 15, 19, 32, 40, 60, 78, 111, 143, 200, 252, 343, 437, 576, 728, 952, 1190, 1531, 1911, 2426, 3008, 3788, 4664, 5819, 7143, 8830, 10780, 13255, 16095, 19661, 23787, 28881, 34795, 42051, 50445, 60675, 72547, 86859, 103481, 123442, 146548
Offset: 1

Views

Author

Omar E. Pol, Feb 12 2012

Keywords

Comments

From Omar E. Pol, Apr 07 2023: (Start)
Convolution of A002865 and A001227.
a(n) is also the total number of odd divisors of the terms in the n-th row of the triangle A336811.
a(n) is also the number of odd terms in the n-th row of the triangle A207378.
a(n) is also the number of odd terms in the n-th row of the triangle A336812. (End)

Crossrefs

Programs

  • Maple
    b:= proc(n, i) option remember; local f, g;
          if n=0 or i=1 then [1, n]
        else f:= b(n, i-1); g:= `if`(i>n, [0, 0], b(n-i, i));
             [f[1]+g[1], f[2]+g[2]+ (i mod 2)*g[1]]
          fi
        end:
    a:= n-> b(n, n)[2] -b(n-1, n-1)[2]:
    seq(a(n), n=1..50);  # Alois P. Heinz, Mar 22 2012
  • Mathematica
    b[n_, i_] := b[n, i] = Module[{f, g}, If[n==0 || i==1, {1, n}, f = b[n, i-1]; g = If[i>n, {0, 0}, b[n-i, i]]; {f[[1]]+g[[1]], f[[2]]+g[[2]] + Mod[i, 2]*g[[1]]}]]; a[n_] := b[n, n][[2]]-b[n-1, n-1][[2]]; Table[a[n], {n, 1, 50}] (* Jean-François Alcover, Feb 16 2017, after Alois P. Heinz *)

Extensions

More terms from Alois P. Heinz, Mar 22 2012

A206434 Total number of even parts in the last section of the set of partitions of n.

Original entry on oeis.org

0, 1, 0, 3, 1, 6, 4, 13, 10, 24, 23, 46, 46, 81, 88, 143, 159, 242, 278, 404, 470, 657, 776, 1057, 1251, 1663, 1984, 2587, 3089, 3967, 4742, 6012, 7184, 9001, 10753, 13351, 15917, 19594, 23335, 28514, 33883, 41140, 48787, 58894, 69691, 83680, 98809, 118101
Offset: 1

Views

Author

Omar E. Pol, Feb 12 2012

Keywords

Comments

From Omar E. Pol, Apr 07 2023: (Start)
Convolution of A002865 and A183063.
a(n) is also the total number of even divisors of the terms in the n-th row of the triangle A336811.
a(n) is also the number of even terms in the n-th row of the triangle A207378.
a(n) is also the number of even terms in the n-th row of the triangle A336812. (End)

Crossrefs

Programs

  • Maple
    b:= proc(n, i) option remember; local f, g;
          if n=0 or i=1 then [1, 0]
        else f:= b(n, i-1); g:= `if`(i>n, [0, 0], b(n-i, i));
             [f[1]+g[1], f[2]+g[2]+ ((i+1) mod 2)*g[1]]
          fi
        end:
    a:= n-> b(n, n)[2] -b(n-1, n-1)[2]:
    seq (a(n), n=1..50);  # Alois P. Heinz, Mar 22 2012
  • Mathematica
    b[n_, i_] := b[n, i] = Module[{f, g}, If[n == 0 || i == 1, {1, 0}, f = b[n, i-1]; g = If[i>n, {0, 0}, b[n-i, i]]; {f[[1]] + g[[1]], f[[2]] + g[[2]] + Mod[i+1, 2]*g[[1]]}]]; a[n_] := b[n, n][[2]]-b[n-1, n-1][[2]]; Table[ a[n], {n, 1, 50}] (* Jean-François Alcover, Feb 16 2017, after Alois P. Heinz *)

Formula

G.f.: (Sum_{i>0} (x^(2*i)-x^(2*i+1))/(1-x^(2*i)))/Product_{i>0} (1-x^i). - Alois P. Heinz, Mar 23 2012

Extensions

More terms from Alois P. Heinz, Mar 22 2012

A340524 Triangle read by rows: T(n,k) = A000005(n-k+1)*A002865(k-1), 1 <= k <= n.

Original entry on oeis.org

1, 2, 0, 2, 0, 1, 3, 0, 2, 1, 2, 0, 2, 2, 2, 4, 0, 3, 2, 4, 2, 2, 0, 2, 3, 4, 4, 4, 4, 0, 4, 2, 6, 4, 8, 4, 3, 0, 2, 4, 4, 6, 8, 8, 7, 4, 0, 4, 2, 8, 4, 12, 8, 14, 8, 2, 0, 3, 4, 4, 8, 8, 12, 14, 16, 12, 6, 0, 4, 3, 8, 4, 16, 8, 21, 16, 24, 14, 2, 0, 2, 4, 6, 8, 8, 16, 14, 24, 24, 28, 21
Offset: 1

Views

Author

Omar E. Pol, Jan 10 2021

Keywords

Comments

Conjecture: the sum of row n equals A138137(n), the total number of parts in the last section of the set of partitions of n.

Examples

			Triangle begins:
1;
2, 0;
2, 0, 1;
3, 0, 2, 1;
2, 0, 2, 2, 2;
4, 0, 3, 2, 4, 2;
2, 0, 2, 3, 4, 4,  4;
4, 0, 4, 2, 6, 4,  8,  4;
3, 0, 2, 4, 4, 6,  8,  8,  7;
4, 0, 4, 2, 8, 4, 12,  8, 14,  8;
2, 0, 3, 4, 4, 8,  8, 12, 14, 16, 12;
6, 0, 4, 3, 8, 4, 16,  8, 21, 16, 24, 14;
2, 0, 2, 4, 6, 8,  8, 16, 14, 24, 24, 28, 21;
...
For n = 6 the calculation of every term of row 6 is as follows:
--------------------------
k   A002865         T(6,k)
--------------------------
1      1   *   4   =   4
2      0   *   2   =   0
3      1   *   3   =   3
4      1   *   2   =   2
5      2   *   2   =   4
6      2   *   1   =   2
.           A000005
--------------------------
The sum of row 6 is 4 + 0 + 3 + 2 + 4 + 2 = 15, equaling A138137(6) = 15.
		

Crossrefs

Row sums give A138137 (conjectured).
Columns 1, 3 and 4 are A000005.
Column 2 gives A000004.
Columns 5 and 6 give A062011.
Columns 7 and 8 give A145154, n >= 1.
Leading diagonal gives A002865.
Cf. A339304 (irregular or expanded version).

Programs

  • PARI
    f(n) = if (n==0, 1, numbpart(n) - numbpart(n-1)); \\ A002865
    T(n, k) = numdiv(n-k+1) * f(k-1); \\ Michel Marcus, Jan 13 2021
Previous Showing 21-30 of 50 results. Next