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

A245092 The even numbers (A005843) and the values of sigma function (A000203) interleaved.

Original entry on oeis.org

0, 1, 2, 3, 4, 4, 6, 7, 8, 6, 10, 12, 12, 8, 14, 15, 16, 13, 18, 18, 20, 12, 22, 28, 24, 14, 26, 24, 28, 24, 30, 31, 32, 18, 34, 39, 36, 20, 38, 42, 40, 32, 42, 36, 44, 24, 46, 60, 48, 31, 50, 42, 52, 40, 54, 56, 56, 30, 58, 72, 60, 32, 62, 63, 64, 48
Offset: 0

Views

Author

Omar E. Pol, Jul 15 2014

Keywords

Comments

Consider an irregular stepped pyramid with n steps. The base of the pyramid is equal to the symmetric representation of A024916(n), the sum of all divisors of all positive integers <= n. Two of the faces of the pyramid are the same as the representation of the n-th triangular numbers as a staircase. The total area of the pyramid is equal to 2*A024916(n) + A046092(n). The volume is equal to A175254(n). By definition a(2n-1) is A000203(n), the sum of divisors of n. Starting from the top a(2n-1) is also the total area of the horizontal part of the n-th step of the pyramid. By definition, a(2n) = A005843(n) = 2n. Starting from the top, a(2n) is also the total area of the irregular vertical part of the n-th step of the pyramid.
On the other hand the sequence also has a symmetric representation in two dimensions, see Example.
From Omar E. Pol, Dec 31 2016: (Start)
We can find the pyramid after the following sequences: A196020 --> A236104 --> A235791 --> A237591 --> A237593.
The structure of this infinite pyramid arises after the 90-degree-zig-zag folding of the diagram of the isosceles triangle A237593 (see the links).
The terraces at the m-th level of the pyramid are also the parts of the symmetric representation of sigma(m), m >= 1, hence the sum of the areas of the terraces at the m-th level equals A000203(m).
Note that the stepped pyramid is also one of the 3D-quadrants of the stepped pyramid described in A244050.
For more information about the pyramid see A237593 and all its related sequences. (End)

Examples

			Illustration of initial terms:
----------------------------------------------------------------------
a(n)                             Diagram
----------------------------------------------------------------------
0    _
1   |_|\ _
2    \ _| |\ _
3     |_ _| | |\ _
4      \ _ _|_| | |\ _
4       |_ _|  _| | | |\ _
6        \ _ _|  _| | | | |\ _
7         |_ _ _|  _|_| | | | |\ _
8          \ _ _ _|  _ _| | | | | |\ _
6           |_ _ _| |    _| | | | | | |\ _
10           \ _ _ _|  _|  _|_| | | | | | |\ _
12            |_ _ _ _|  _|  _ _| | | | | | | |\ _
12             \ _ _ _ _|  _|  _ _| | | | | | | | |\ _
8               |_ _ _ _| |  _|  _ _|_| | | | | | | | |\ _
14               \ _ _ _ _| |  _| |  _ _| | | | | | | | | |\ _
15                |_ _ _ _ _| |_ _| |  _ _| | | | | | | | | | |\ _
16                 \ _ _ _ _ _|  _ _|_|  _ _|_| | | | | | | | | | |\
13                  |_ _ _ _ _| |  _|  _|  _ _ _| | | | | | | | | | |
18                   \ _ _ _ _ _| |  _|  _|    _ _| | | | | | | | | |
18                    |_ _ _ _ _ _| |  _|     |  _ _|_| | | | | | | |
20                     \ _ _ _ _ _ _| |      _| |  _ _ _| | | | | | |
12                      |_ _ _ _ _ _| |  _ _|  _| |  _ _ _| | | | | |
22                       \ _ _ _ _ _ _| |  _ _|  _|_|  _ _ _|_| | | |
28                        |_ _ _ _ _ _ _| |  _ _|  _ _| |  _ _ _| | |
24                         \ _ _ _ _ _ _ _| |  _| |    _| |  _ _ _| |
14                          |_ _ _ _ _ _ _| | |  _|  _|  _| |  _ _ _|
26                           \ _ _ _ _ _ _ _| | |_ _|  _|  _| |
24                            |_ _ _ _ _ _ _ _| |  _ _|  _|  _|
28                             \ _ _ _ _ _ _ _ _| |  _ _|  _|
24                              |_ _ _ _ _ _ _ _| | |  _ _|
30                               \ _ _ _ _ _ _ _ _| | |
31                                |_ _ _ _ _ _ _ _ _| |
32                                 \ _ _ _ _ _ _ _ _ _|
...
a(n) is the total area of the n-th set of symmetric regions in the diagram.
.
From _Omar E. Pol_, Aug 21 2015: (Start)
The above structure contains a hidden pattern, simpler, as shown below:
Level                              _ _
1                                _| | |_
2                              _|  _|_  |_
3                            _|   | | |   |_
4                          _|    _| | |_    |_
5                        _|     |  _|_  |     |_
6                      _|      _| | | | |_      |_
7                    _|       |   | | |   |       |_
8                  _|        _|  _| | |_  |_        |_
9                _|         |   |  _|_  |   |         |_
10             _|          _|   | | | | |   |_          |_
11           _|           |    _| | | | |_    |           |_
12         _|            _|   |   | | |   |   |_            |_
13       _|             |     |  _| | |_  |     |             |_
14     _|              _|    _| |  _|_  | |_    |_              |_
15   _|               |     |   | | | | |   |     |               |_
16  |                 |     |   | | | | |   |     |                 |
...
The symmetric pattern emerges from the front view of the stepped pyramid.
Note that starting from this diagram A000203 is obtained as follows:
In the pyramid the area of the k-th vertical region in the n-th level on the front view is equal to A237593(n,k), and the sum of all areas of the vertical regions in the n-th level on the front view is equal to 2n.
The area of the k-th horizontal region in the n-th level is equal to A237270(n,k), and the sum of all areas of the horizontal regions in the n-th level is equal to sigma(n) = A000203(n). (End)
From _Omar E. Pol_, Dec 31 2016: (Start)
Illustration of the top view of the pyramid with 16 levels:
.
n   A000203    A237270    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
1      1   =      1      |_| | | | | | | | | | | | | | | |
2      3   =      3      |_ _|_| | | | | | | | | | | | | |
3      4   =    2 + 2    |_ _|  _|_| | | | | | | | | | | |
4      7   =      7      |_ _ _|    _|_| | | | | | | | | |
5      6   =    3 + 3    |_ _ _|  _|  _ _|_| | | | | | | |
6     12   =     12      |_ _ _ _|  _| |  _ _|_| | | | | |
7      8   =    4 + 4    |_ _ _ _| |_ _|_|    _ _|_| | | |
8     15   =     15      |_ _ _ _ _|  _|     |  _ _ _|_| |
9     13   =  5 + 3 + 5  |_ _ _ _ _| |      _|_| |  _ _ _|
10    18   =    9 + 9    |_ _ _ _ _ _|  _ _|    _| |
11    12   =    6 + 6    |_ _ _ _ _ _| |  _|  _|  _|
12    28   =     28      |_ _ _ _ _ _ _| |_ _|  _|
13    14   =    7 + 7    |_ _ _ _ _ _ _| |  _ _|
14    24   =   12 + 12   |_ _ _ _ _ _ _ _| |
15    24   =  8 + 8 + 8  |_ _ _ _ _ _ _ _| |
16    31   =     31      |_ _ _ _ _ _ _ _ _|
... (End)
		

Crossrefs

Programs

  • Mathematica
    Table[If[EvenQ@ n, n, DivisorSigma[1, (n + 1)/2]], {n, 0, 65}] (* or *)
    Transpose@ {Range[0, #, 2], DivisorSigma[1, #] & /@ Range[#/2 + 1]} &@ 65 // Flatten (* Michael De Vlieger, Dec 31 2016 *)
    With[{nn=70},Riffle[Range[0,nn,2],DivisorSigma[1,Range[nn/2]]]] (* Harvey P. Dale, Aug 05 2024 *)

Formula

a(2*n-1) + a(2n) = A224880(n).

A244363 Number of toothpicks added at n-th stage in the toothpick structure of the symmetric representation of sigma of the first n positive integers in the first quadrant (without the axis x and y).

Original entry on oeis.org

2, 4, 6, 8, 8, 12, 10, 16, 16, 20, 14, 24, 16, 26, 26, 32, 20, 36, 22, 40, 36, 38, 26, 48, 34, 44, 44, 56, 32, 60, 34, 64
Offset: 1

Views

Author

Omar E. Pol, Jun 26 2014

Keywords

Comments

Partial sums give A244362. - Omar E. Pol, Oct 18 2014
a(n) is also the sum of semiperimeters of the parts of the symmetric representation of sigma(n). - Omar E. Pol, Dec 11 2016
It appears that a(n) is also the total length of the horizontal cuts that must be made at level n, starting from the top, in the diagram of the "isosceles triangle shaped" 4*n-gon described in A237593 to transform it into a pop-up card which when folded 90 degrees has the property that the total area of its holes at level n is equal to A000203(n). Note that the pop-up card has essentially the same structure as the stepped pyramid described in A245092. The holes of the pop-up card are equivalent to the terraces of the stepped pyramid, therefore both objects share many properties. - Omar E. Pol, Mar 08 2023

Crossrefs

Formula

a(n) = 2*A244361(n).
a(n) = A244371(n)/4. - Omar E. Pol, Oct 18 2014
a(n) = A274919(n)/2. - Omar E. Pol, Dec 11 2016

Extensions

a(13)-a(28) from Omar E. Pol, Oct 18 2014
Definition clarified by Omar E. Pol, Mar 08 2023
a(29)-a(32) from Omar E. Pol, May 04 2023

A244371 Number of toothpicks added at n-th stage in the toothpick structure of the symmetric representation of sigma in the four quadrants.

Original entry on oeis.org

8, 16, 24, 32, 32, 48, 40, 64, 64, 80, 56, 96, 64, 104, 104, 128, 80, 144, 88, 160, 144, 152, 104, 192, 136, 176, 176, 224, 128, 240, 136, 256
Offset: 1

Views

Author

Omar E. Pol, Jun 26 2014

Keywords

Comments

Partial sums give A244370.

Crossrefs

Formula

a(n) = 4*A244363(n) = 8*A244361(n). - Omar E. Pol, Oct 16 2014

Extensions

a(13)-a(28) from Omar E. Pol, Oct 18 2014
a(29)-a(32) from Omar E. Pol, May 04 2023

A244370 Total number of toothpicks after n-th stage in the toothpick structure of the symmetric representation of sigma in the four quadrants.

Original entry on oeis.org

8, 24, 48, 80, 112, 160, 200, 264, 328, 408, 464, 560, 624, 728, 832, 960, 1040, 1184, 1272, 1432, 1576, 1728, 1832, 2024, 2160, 2336, 2512, 2736
Offset: 1

Views

Author

Omar E. Pol, Jun 26 2014

Keywords

Comments

Partial sums of A244371.
If we use toothpicks of length 1/2, so the area of the central square is equal to 1. The total area of the structure after n-th stage is equal to A024916(n), the sum of all divisors of all positive integers <= n, hence the total area of the n-th set of symmetric regions added at n-th stage is equal to sigma(n) = A000203(n), the sum of divisors of n.
If we use toothpicks of length 1, so the number of cells (and the area) of the central square is equal to 4. The number of cells (and the total area) of the structure after n-th stage is equal to 4*A024916(n) = A243980(n), hence the number of cells (and the total area) of the n-th set of symmetric regions added at n-th stage is equal to 4*A000203(n) = A239050(n).

Examples

			Illustration of the structure after 16 stages (Contains 960 toothpicks):
.
.                 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.                |  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  |
.                | |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _| |
.             _ _| |  _ _ _ _ _ _ _ _ _ _ _ _ _ _  | |_ _
.           _|  _ _| |_ _ _ _ _ _ _ _ _ _ _ _ _ _| |_ _  |_
.         _|  _|  _| |  _ _ _ _ _ _ _ _ _ _ _ _  | |_  |_  |_
.        |  _|   |_ _| |_ _ _ _ _ _ _ _ _ _ _ _| |_ _|   |_  |
.   _ _ _| |  _ _|     |  _ _ _ _ _ _ _ _ _ _  |     |_ _  | |_ _ _
.  |  _ _ _|_| |      _| |_ _ _ _ _ _ _ _ _ _| |_      | |_|_ _ _  |
.  | | |  _ _ _|    _|_ _|  _ _ _ _ _ _ _ _  |_ _|_    |_ _ _  | | |
.  | | | | |  _ _ _| |  _| |_ _ _ _ _ _ _ _| |_  | |_ _ _  | | | | |
.  | | | | | | |  _ _|_|  _|  _ _ _ _ _ _  |_  |_|_ _  | | | | | | |
.  | | | | | | | | |  _ _|   |_ _ _ _ _ _|   |_ _  | | | | | | | | |
.  | | | | | | | | | | |  _ _|  _ _ _ _  |_ _  | | | | | | | | | | |
.  | | | | | | | | | | | | |  _|_ _ _ _|_  | | | | | | | | | | | | |
.  | | | | | | | | | | | | | | |  _ _  | | | | | | | | | | | | | | |
.  | | | | | | | | | | | | | | | |   | | | | | | | | | | | | | | | |
.  | | | | | | | | | | | | | | | |_ _| | | | | | | | | | | | | | | |
.  | | | | | | | | | | | | | |_|_ _ _ _|_| | | | | | | | | | | | | |
.  | | | | | | | | | | | |_|_  |_ _ _ _|  _|_| | | | | | | | | | | |
.  | | | | | | | | | |_|_    |_ _ _ _ _ _|    _|_| | | | | | | | | |
.  | | | | | | | |_|_ _  |_  |_ _ _ _ _ _|  _|  _ _|_| | | | | | | |
.  | | | | | |_|_ _  | |_  |_ _ _ _ _ _ _ _|  _| |  _ _|_| | | | | |
.  | | | |_|_ _    |_|_ _| |_ _ _ _ _ _ _ _| |_ _|_|    _ _|_| | | |
.  | |_|_ _ _  |     |_  |_ _ _ _ _ _ _ _ _ _|  _|     |  _ _ _|_| |
.  |_ _ _  | |_|_      | |_ _ _ _ _ _ _ _ _ _| |      _|_| |  _ _ _|
.        | |_    |_ _  |_ _ _ _ _ _ _ _ _ _ _ _|  _ _|    _| |
.        |_  |_  |_  | |_ _ _ _ _ _ _ _ _ _ _ _| |  _|  _|  _|
.          |_  |_ _| |_ _ _ _ _ _ _ _ _ _ _ _ _ _| |_ _|  _|
.            |_ _  | |_ _ _ _ _ _ _ _ _ _ _ _ _ _| |  _ _|
.                | |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _| |
.                | |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _| |
.                |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
.
		

Crossrefs

Formula

a(n) = 4*A244362(n) = 8*A244360(n).

Extensions

a(8) corrected and more terms from Omar E. Pol, Oct 18 2014

A244361 Number of toothpicks added at n-th stage in the toothpick structure of the symmetric representation of half sigma in the first octant (without the axis x and without the main diagonal).

Original entry on oeis.org

1, 2, 3, 4, 4, 6, 5, 8, 8, 10, 7, 12, 8, 13, 13, 16, 10, 18, 11, 20, 18, 19, 13, 24, 17, 22, 22, 28, 16, 30, 17, 32
Offset: 1

Views

Author

Omar E. Pol, Jun 26 2014

Keywords

Comments

Partial sums give A244360. - Omar E. Pol, Oct 18 2014

Crossrefs

Formula

a(n) = A244363(n)/2.
a(n) = A244371(n)/8. - Omar E. Pol, Oct 18 2014

Extensions

a(13)-a(28) from Omar E. Pol, Oct 18 2014
a(29)-a(32) from Omar E. Pol, May 04 2023

A244970 Total number of regions after n-th stage in the diagram of the symmetric representation of sigma on the four quadrants.

Original entry on oeis.org

1, 2, 6, 7, 11, 12, 16, 17, 25, 29, 33, 34, 38, 42, 50, 51, 55, 56, 60, 61, 73, 77, 81, 82, 90, 94, 106, 107, 111, 112, 116, 117, 129, 133, 141, 142, 146, 150, 162, 163, 167, 168, 172, 176, 184, 188, 192, 193, 201, 209, 221, 225, 229, 230, 242, 243, 255, 259, 263, 264
Offset: 1

Views

Author

Omar E. Pol, Jul 08 2014

Keywords

Comments

Partial sums of A244971.
If we use toothpicks of length 1/2, so the area of the central square is equal to 1. The total area of the structure after n-th stage is equal to A024916(n), the sum of all divisors of all positive integers <= n, hence the total area of the n-th set of symmetric regions added at n-th stage is equal to sigma(n) = A000203(n), the sum of divisors of n.
If we use toothpicks of length 1, so the number of cells (and the area) of the central square is equal to 4. The number of cells (and the total area) of the structure after n-th stage is equal to 4*A024916(n) = A243980(n), hence the number of cells (and the total area) of the n-th set of symmetric regions added at n-th stage is equal to 4*A000203(n) = A239050(n).
a(n) is also the total number of terraces of the stepped pyramid with n levels described in A244050. - Omar E. Pol, Apr 20 2016

Examples

			Illustration of the structure after 15 stages (contains 50 regions):
.
.                   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.                  |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
.                  |  _ _ _ _ _ _ _ _ _ _ _ _ _ _  |
.               _ _| |_ _ _ _ _ _ _ _ _ _ _ _ _ _| |_ _
.             _|  _| |  _ _ _ _ _ _ _ _ _ _ _ _  | |_  |_
.           _|   |_ _| |_ _ _ _ _ _ _ _ _ _ _ _| |_ _|   |_
.          |  _ _|     |  _ _ _ _ _ _ _ _ _ _  |     |_ _  |
.     _ _ _|_| |      _| |_ _ _ _ _ _ _ _ _ _| |_      | |_|_ _ _
.    | |  _ _ _|    _|_ _|  _ _ _ _ _ _ _ _  |_ _|_    |_ _ _  | |
.    | | | |  _ _ _| |  _| |_ _ _ _ _ _ _ _| |_  | |_ _ _  | | | |
.    | | | | | |  _ _|_|  _|  _ _ _ _ _ _  |_  |_|_ _  | | | | | |
.    | | | | | | | |  _ _|   |_ _ _ _ _ _|   |_ _  | | | | | | | |
.    | | | | | | | | | |  _ _|  _ _ _ _  |_ _  | | | | | | | | | |
.    | | | | | | | | | | | |  _|_ _ _ _|_  | | | | | | | | | | | |
.    | | | | | | | | | | | | | |  _ _  | | | | | | | | | | | | | |
.    | | | | | | | | | | | | | | |   | | | | | | | | | | | | | | |
.    | | | | | | | | | | | | | | |_ _| | | | | | | | | | | | | | |
.    | | | | | | | | | | | | |_|_ _ _ _|_| | | | | | | | | | | | |
.    | | | | | | | | | | |_|_  |_ _ _ _|  _|_| | | | | | | | | | |
.    | | | | | | | | |_|_    |_ _ _ _ _ _|    _|_| | | | | | | | |
.    | | | | | | |_|_ _  |_  |_ _ _ _ _ _|  _|  _ _|_| | | | | | |
.    | | | | |_|_ _  | |_  |_ _ _ _ _ _ _ _|  _| |  _ _|_| | | | |
.    | | |_|_ _    |_|_ _| |_ _ _ _ _ _ _ _| |_ _|_|    _ _|_| | |
.    |_|_ _ _  |     |_  |_ _ _ _ _ _ _ _ _ _|  _|     |  _ _ _|_|
.          | |_|_      | |_ _ _ _ _ _ _ _ _ _| |      _|_| |
.          |_    |_ _  |_ _ _ _ _ _ _ _ _ _ _ _|  _ _|    _|
.            |_  |_  | |_ _ _ _ _ _ _ _ _ _ _ _| |  _|  _|
.              |_ _| |_ _ _ _ _ _ _ _ _ _ _ _ _ _| |_ _|
.                  | |_ _ _ _ _ _ _ _ _ _ _ _ _ _| |
.                  |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
.                  |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
.
The diagram is also the top view of the stepped pyramid with 15 levels described in A244050. - _Omar E. Pol_, Apr 20 2016
		

Crossrefs

A244362 Total number of toothpicks after n-th stage in the toothpick structure of the symmetric representation of sigma in the first quadrant (without the axes x and y).

Original entry on oeis.org

2, 6, 12, 20, 28, 40, 50, 66, 82, 102, 116, 140, 156, 182, 208, 240, 260, 296, 318, 358, 394, 432, 458, 506, 540, 584, 628, 684
Offset: 1

Views

Author

Omar E. Pol, Jun 26 2014

Keywords

Comments

Partial sums of A244363.

Examples

			Illustration of the structure after 7 stages (Contains 50 toothpicks):
.
.    _ _ _ _
.    _ _ _ _|
.    _ _ _  |_
.    _ _ _|   |_ _
.    _ _  |_ _  | |
.    _ _|_  | | | |
.    _  | | | | | |
.     | | | | | | |
.
.     1 2 3 4 5 6 7
.
		

Crossrefs

Formula

a(n) = 2*A244360(n).
a(n) = A244370(n)/4. - Omar E. Pol, Oct 18 2014

Extensions

More terms from Omar E. Pol, Oct 18 2014

A244250 Triangle read by rows in which row n lists the widths in the first octant of the symmetric representation of sigma(n).

Original entry on oeis.org

1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0
Offset: 1

Views

Author

Omar E. Pol, Oct 26 2014

Keywords

Comments

For the definition of k-th width of the symmetric representation of sigma(n) see A249351.
Row n list the first n terms of the n-th row of A249351.
It appears that the leading diagonal is also A067742 (which was conjectured by Michel Marcus in the entry A237593 and checked with two Mathematica functions up to n = 100000 by Hartmut F. W. Hoft).
For more information see A237591, A237593.

Examples

			Triangle begins:
1;
1, 1;
1, 1, 0;
1, 1, 1, 1;
1, 1, 1, 0, 0;
1, 1, 1, 1, 1, 2;
1, 1, 1, 1, 0, 0, 0;
1, 1, 1, 1, 1, 1, 1, 1;
1, 1, 1, 1, 1, 0, 0, 1, 1;
1, 1, 1, 1, 1, 1, 1, 1, 1, 0;
1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0;
1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2;
1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0;
...
		

Crossrefs

Showing 1-8 of 8 results.