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 11-20 of 34 results. Next

A207779 Largest part plus the number of parts of the n-th region of the section model of partitions.

Original entry on oeis.org

2, 4, 6, 3, 9, 4, 12, 3, 6, 4, 17, 4, 7, 5, 22, 3, 6, 4, 10, 6, 5, 30, 4, 7, 5, 11, 4, 8, 6, 39, 3, 6, 4, 10, 6, 5, 15, 5, 9, 7, 6, 52, 4, 7, 5, 11, 4, 8, 6, 17, 6, 5, 11, 8, 7, 67, 3, 6, 4, 10, 6, 5, 15, 5, 9, 7, 6, 22, 4, 8, 6, 13, 5, 10, 8
Offset: 1

Views

Author

Omar E. Pol, Mar 08 2012

Keywords

Comments

Also semiperimeter of the n-th region of the geometric version of the section model of partitions. Note that a(n) is easily viewable as the sum of two perpendicular segments with a shared vertex. The horizontal segment has length A141285(n) and the vertical segment has length A194446(n). The difference between these two segments gives A194447(n). See also an illustration in the Links section. For the definition of "region" see A206437.
Also triangle read by rows: T(n,k) = largest part plus the number of parts of the k-th region of the last section of the set of partitions of n.

Examples

			Written as a triangle begins:
2;
4;
6;
3, 9;
4, 12;
3, 6, 4, 17;
4, 7, 5, 22;
3, 6, 4, 10, 6, 5, 30;
4, 7, 5, 11, 4, 8, 6, 39;
3, 6, 4, 10, 6, 5, 15, 5, 9, 7, 6, 52;
		

Crossrefs

Row n has length A187219(n). Last term of row n is A133041(n). Where record occur give A000041, n >= 1.

Formula

a(n) = A141285(n) + A194446(n).

A194438 Triangle read by rows: T(n,k) is the number of regions of the set of partitions of n into k parts.

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Nov 28 2011

Keywords

Comments

For the definition of "region" see A206437. See also A186114 and A193870. - Omar E. Pol, May 21 2021

Examples

			Triangle begins:
   1;
   1,1;
   1,1,1;
   2,1,1,0,1;
   3,1,1,0,1,0,1;
   5,2,1,0,1,0,1,0,0,0,1;
   7,3,1,0,1,0,1,0,0,0,1,0,0,0,1;
  11,4,1,1,1,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,1;
...
		

Crossrefs

Column 1 is A194439.
Row n has length A000041(n).
Row sums give A000041, n >= 1.

Extensions

Definition clarified by Omar E. Pol, May 21 2021

A194437 Triangle read by rows: T(n,k) = sum of parts in the k-th region of n.

Original entry on oeis.org

1, 1, 3, 1, 3, 5, 1, 3, 5, 2, 9, 1, 3, 5, 2, 9, 3, 12, 1, 3, 5, 2, 9, 3, 12, 2, 6, 3, 20, 1, 3, 5, 2, 9, 3, 12, 2, 6, 3, 20, 3, 7, 4, 25, 1, 3, 5, 2, 9, 3, 12, 2, 6, 3, 20, 3, 7, 4, 25, 2, 6, 3, 13, 5, 4, 38, 1, 3, 5, 2, 9, 3, 12, 2, 6, 3, 20, 3, 7
Offset: 1

Views

Author

Omar E. Pol, Nov 27 2011

Keywords

Examples

			Triangle begins:
1;
1,3;
1,3,5;
1,3,5,2,9;
1,3,5,2,9,3,12;
1,3,5,2,9,3,12,2,6,3,20;
1,3,5,2,9,3,12,2,6,3,20,3,7,4,25;
1,3,5,2,9,3,12,2,6,3,20,3,7,4,25,2,6,3,13,5,4,38;
...
Row n has length A000041(n). Row sums give A066186. Right border gives A046746. Records in every row give A046746. Rows converge to A186412.
		

Crossrefs

A194448 Number of parts > 1 in the n-th region of the shell model of partitions.

Original entry on oeis.org

0, 1, 1, 1, 2, 1, 2, 1, 2, 1, 4, 1, 2, 1, 4, 1, 2, 1, 4, 1, 1, 7, 1, 2, 1, 4, 1, 2, 1, 8, 1, 2, 1, 4, 1, 1, 7, 1, 2, 1, 1, 12, 1, 2, 1, 4, 1, 2, 1, 8, 1, 1, 3, 1, 1, 14, 1, 2, 1, 4, 1, 1, 7, 1, 2, 1, 1, 12, 1, 2, 1, 4, 1, 2, 1, 1, 21, 1, 2, 1, 4, 1, 2
Offset: 1

Views

Author

Omar E. Pol, Dec 10 2011

Keywords

Comments

Also triangle read by rows: T(n,k) = number of parts > 1 in the k-th region of the last section of the set of partitions of n.

Examples

			Written as a triangle:
0;
1;
1;
1,2;
1,2;
1,2,1,4;
1,2,1,4;
1,2,1,4,1,1,7;
1,2,1,4,1,2,1,8;
1,2,1,4,1,1,7,1,2,1,1,12;
1,2,1,4,1,2,1,8,1,1,3,1,1,14;
1,2,1,4,1,1,7,1,2,1,1,12,1,2,1,4,1,2,1,1,21;
		

Crossrefs

A299474 a(n) = 4*p(n), where p(n) is the number of partitions of n.

Original entry on oeis.org

4, 4, 8, 12, 20, 28, 44, 60, 88, 120, 168, 224, 308, 404, 540, 704, 924, 1188, 1540, 1960, 2508, 3168, 4008, 5020, 6300, 7832, 9744, 12040, 14872, 18260, 22416, 27368, 33396, 40572, 49240, 59532, 71908, 86548, 104060, 124740, 149352, 178332, 212696, 253044, 300700, 356536, 422232, 499016, 589092, 694100, 816904
Offset: 0

Views

Author

Omar E. Pol, Feb 10 2018

Keywords

Comments

For n >= 1, a(n) is also the number of edges in the diagram of partitions of n, in which A299475(n) is the number of vertices and A000041(n) is the number of regions (see example and Euler's formula).

Examples

			Construction of a modular table of partitions in which a(n) is the number of edges of the diagram after n-th stage (n = 1..6):
--------------------------------------------------------------------------------
n ........:   1     2       3         4           5             6     (stage)
a(n)......:   4     8      12        20          28            44     (edges)
A299475(n):   4     7      10        16          22            34     (vertices)
A000041(n):   1     2       3         5           7            11     (regions)
--------------------------------------------------------------------------------
r     p(n)
--------------------------------------------------------------------------------
.             _    _ _    _ _ _    _ _ _ _    _ _ _ _ _    _ _ _ _ _ _
1 .... 1 ....|_|  |_| |  |_| | |  |_| | | |  |_| | | | |  |_| | | | | |
2 .... 2 .........|_ _|  |_ _| |  |_ _| | |  |_ _| | | |  |_ _| | | | |
3 .... 3 ................|_ _ _|  |_ _ _| |  |_ _ _| | |  |_ _ _| | | |
4                                 |_ _|   |  |_ _|   | |  |_ _|   | | |
5 .... 5 .........................|_ _ _ _|  |_ _ _ _| |  |_ _ _ _| | |
6                                            |_ _ _|   |  |_ _ _|   | |
7 .... 7 ....................................|_ _ _ _ _|  |_ _ _ _ _| |
8                                                         |_ _|   |   |
9                                                         |_ _ _ _|   |
10                                                        |_ _ _|     |
11 .. 11 .................................................|_ _ _ _ _ _|
.
Apart from the axis x, the r-th horizontal line segment has length A141285(r), equaling the largest part of the r-th region of the diagram.
Apart from the axis y, the r-th vertical line segment has length A194446(r), equaling the number of parts in the r-th region of the diagram.
The total number of parts equals the sum of largest parts.
Note that every diagram contains all previous diagrams.
An infinite diagram is a table of all partitions of all positive integers.
		

Crossrefs

k times partition numbers: A000041 (k=1), A139582 (k=2), A299473 (k=3), this sequence (k=4).

Programs

  • GAP
    List([0..50],n->4*NrPartitions(n)); # Muniru A Asiru, Jul 10 2018
    
  • Maple
    with(combinat): seq(4*numbpart(n),n=0..50); # Muniru A Asiru, Jul 10 2018
  • Mathematica
    4*PartitionsP[Range[0,50]] (* Harvey P. Dale, Dec 05 2023 *)
  • PARI
    a(n) = 4*numbpart(n); \\ Michel Marcus, Jul 15 2018
    
  • Python
    from sympy.ntheory import npartitions
    def a(n): return 4*npartitions(n)
    print([a(n) for n in range(51)]) # Michael S. Branicky, Apr 04 2021

Formula

a(n) = 4*A000041(n) = 2*A139582(n).
a(n) = A000041(n) + A299475(n) - 1, n >= 1 (Euler's formula).
a(n) = A000041(n) + A299473(n). - Omar E. Pol, Aug 11 2018

A299475 a(n) is the number of vertices in the diagram of partitions of n (see example).

Original entry on oeis.org

1, 4, 7, 10, 16, 22, 34, 46, 67, 91, 127, 169, 232, 304, 406, 529, 694, 892, 1156, 1471, 1882, 2377, 3007, 3766, 4726, 5875, 7309, 9031, 11155, 13696, 16813, 20527, 25048, 30430, 36931, 44650, 53932, 64912, 78046, 93556, 112015, 133750, 159523, 189784, 225526, 267403, 316675, 374263, 441820, 520576, 612679
Offset: 0

Views

Author

Omar E. Pol, Feb 11 2018

Keywords

Comments

For n >= 1, A299474(n) is the number of edges and A000041(n) is the number of regions in the mentioned diagram (see example and Euler's formula).

Examples

			Construction of a modular table of partitions in which a(n) is the number of vertices of the diagram after n-th stage (n = 1..6):
--------------------------------------------------------------------------------
n ........:   1     2       3         4           5             6     (stage)
a(n)......:   4     7      10        16          22            34     (vertices)
A299474(n):   4     8      12        20          28            44     (edges)
A000041(n):   1     2       3         5           7            11     (regions)
--------------------------------------------------------------------------------
r     p(n)
--------------------------------------------------------------------------------
.             _    _ _    _ _ _    _ _ _ _    _ _ _ _ _    _ _ _ _ _ _
1 .... 1 ....|_|  |_| |  |_| | |  |_| | | |  |_| | | | |  |_| | | | | |
2 .... 2 .........|_ _|  |_ _| |  |_ _| | |  |_ _| | | |  |_ _| | | | |
3 .... 3 ................|_ _ _|  |_ _ _| |  |_ _ _| | |  |_ _ _| | | |
4                                 |_ _|   |  |_ _|   | |  |_ _|   | | |
5 .... 5 .........................|_ _ _ _|  |_ _ _ _| |  |_ _ _ _| | |
6                                            |_ _ _|   |  |_ _ _|   | |
7 .... 7 ....................................|_ _ _ _ _|  |_ _ _ _ _| |
8                                                         |_ _|   |   |
9                                                         |_ _ _ _|   |
10                                                        |_ _ _|     |
11 .. 11 .................................................|_ _ _ _ _ _|
.
Apart from the axis x, the r-th horizontal line segment has length A141285(r), equaling the largest part of the r-th region of the diagram.
Apart from the axis y, the r-th vertical line segment has length A194446(r), equaling the number of parts in the r-th region of the diagram.
The total number of parts equals the sum of largest parts.
Note that every diagram contains all previous diagrams.
An infinite diagram is a table of all partitions of all positive integers.
		

Crossrefs

Programs

  • PARI
    a(n) = if (n==0, 1, 1+3*numbpart(n)); \\ Michel Marcus, Jul 15 2018

Formula

a(0) = 1; a(n) = 1 + 3*A000041(n), n >= 1.
a(n) = A299474(n) - A000041(n) + 1, n >= 1 (Euler's formula).

A210942 Triangle read by rows in which row n lists the parts > 1 of the n-th region of the shell model of partitions, with a(1) = 1.

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Apr 18 2012

Keywords

Comments

For the definition of "region of n" see A206437. See also A186114. Row n lists the largest part and the parts > 1 of the n-th region of the shell model of partitions. Also 1 together with the numbers > 1 of A206437.

Examples

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

Crossrefs

Column 1 is A141285. Records give A000027. The n-th record is T(A000041(n),1).

A211026 Number of segments needed to draw (on the infinite square grid) a diagram of regions and partitions of n.

Original entry on oeis.org

4, 6, 8, 12, 16, 24, 32, 46, 62, 86, 114, 156, 204, 272, 354, 464, 596, 772, 982, 1256, 1586, 2006, 2512, 3152, 3918, 4874, 6022, 7438, 9132, 11210, 13686, 16700, 20288, 24622, 29768, 35956, 43276, 52032, 62372, 74678, 89168, 106350
Offset: 1

Views

Author

Omar E. Pol, Oct 29 2012

Keywords

Comments

On the infinite square grid the diagram of regions of the set of partitions of n is represented by a rectangle with base = n and height = A000041(n). The rectangle contains n shells. Each shell contains regions. Each row of a region is a part. Each part of size k contains k cells. The number of regions equals the number of partitions of n (see illustrations in the links section). For a minimalist version see A139582. For the definition of "region of n" see A206437.

Crossrefs

Formula

a(n) = 2*A000041(n) + 2 = 2*A052810(n) = A139582(n) + 2.

Extensions

a(18) corrected by Georg Fischer, Apr 11 2024

A228109 Height after n-th step of an infinite staircase which is the lower part of a structure whose upper part is the infinite Dyck path of A228110.

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Aug 13 2013

Keywords

Comments

The master diagram of regions of the set of partitions of all positive integers is a total dissection of the first quadrant of the square grid in which the j-th horizontal line segments has length A141285(j) and the j-th vertical line segment has length A194446(j). For the definition of "region" see A206437. The first A000041(k) regions of the diagram represent the set of partitions of k in colexicographic order (see A211992). The length of the j-th horizontal line segment equals the largest part of the j-th partition of k and equals the largest part of the j-th region of the diagram. The length of the j-th vertical line segment (which is the line segment ending in row j) equals the number of parts in the j-th region.
For k = 5, the diagram 1 represents the partitions of 5. The diagram 2 shows separately the boundary segments southwest sides of the first seven regions of the diagram 1, see below:
.
j Diagram 1 Diagram 2
7 | _ | | _
6 | _| | | _ |
5 | | | | |
4 | |_ | | | |_ |
3 | | | | | | |
2 | | | | | | | | |
1 |||_||| | | | | |_
.
. 1 2 3 4 5
.
a(n) is the height after n-th step of an infinite staircase which is the lower part of a diagram of regions of the set of partitions of all positive integers. The upper part of the diagram is the infinite Dyck path mentioned in A228110. The diagram shows the shape of the successive regions of the set of partitions of all positive integers. The area of the n-th region is A186412(n).
For the height of the peaks and the valleys in the infinite Dyck path see A229946.

Examples

			Illustration of initial terms (n = 1..53):
5
4                                                      /
3                                 /\/\                /
2                                /    \            /\/
1                   /\/\      /\/      \        /\/
0          /\    /\/    \    /          \    /\/
-1 \/\/\/\/  \/\/        \/\/            \/\/
-2
The diagram shows the Dyck pack mentioned in A228110 together with the staircase illustrated above. The area of the n-th region is equal to A186412(n).
.
7...................................
.                                  /\
5.....................            /  \                /\
.                    /\          /    \          /\  / /
3...........        /  \        / /\/\ \        /  \/ /
2......    /\      /    \    /\/ /    \ \      /   /\/
1...  /\  /  \  /\/ /\/\ \  / /\/      \ \  /\/ /\/
0  /\/  \/ /\ \/ /\/    \ \/ /          \ \/ /\/
-1 \/\/\/\/  \/\/        \/\/            \/\/
.
Region:
.   1  2    3   4     5      6      7       8    9   10
		

Crossrefs

A228110 Height after n-th step of the infinite Dyck path in which the k-th ascending line segment has A141285(k) steps and the k-th descending line segment has A194446(k) steps, n >= 0, k >= 1.

Original entry on oeis.org

0, 1, 0, 1, 2, 1, 0, 1, 2, 3, 2, 1, 0, 1, 2, 1, 2, 3, 4, 5, 4, 3, 2, 1, 0, 1, 2, 3, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 1, 2, 3, 4, 5, 4, 3, 4, 5, 6, 5, 6, 7, 8, 9, 10, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 2, 3, 4, 5, 6, 7, 6, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 14, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
Offset: 0

Views

Author

Omar E. Pol, Aug 10 2013

Keywords

Comments

The master diagram of regions of the set of partitions of all positive integers is a total dissection of the first quadrant of the square grid in which the j-th horizontal line segments has length A141285(j) and the j-th vertical line segment has length A194446(j). For the definition of "region" see A206437. The first A000041(k) regions of the diagram represent the set of partitions of k in colexicographic order (see A211992). The length of the j-th horizontal line segment equals the largest part of the j-th partition of k and equals the largest part of the j-th region of the diagram. The length of the j-th vertical line segment (which is the line segment ending in row j) equals the number of parts in the j-th region.
For k = 7, the diagram 1 represents the partitions of 7. The diagram 2 is a minimalist version of the structure which does not contain the axes [X, Y]. See below:
.
. j Diagram 1 Partitions Diagram 2
. _ _ _ _
. 15 | _ | 7 _ |
. 14 | _ | | 4+3 _ | |
. 13 | _ | | 5+2 _ | |
. 12 | _| |_ | 3+2+2 _| |_ |
. 11 | _ | | 6+1 _ | |
. 10 | _| | | 3+3+1 _ | | |
. 9 | | | | 4+2+1 | | |
. 8 | |_ | | | 2+2+2+1 |_ | | |
. 7 | _ | | | 5+1+1 _ | | |
. 6 | _| | | | 3+2+1+1 _ | | | |
. 5 | | | | | 4+1+1+1 | | | |
. 4 | |_ | | | | 2+2+1+1+1 |_ | | | |
. 3 | | | | | | 3+1+1+1+1 | | | | |
. 1 |||_|||_|_| 1+1+1+1+1+1+1 | | | | | | |
.
. 1 2 3 4 5 6 7
.
The second diagram has the property that if the number of regions is also the number of partitions of k so the sum of the lengths of all horizontal line segment equals the sum of the lengths of all vertical line segments and equals A006128(k), for k >= 1.
Also the diagram has the property that it can be transformed in a Dyck path (see example).
The sequence gives the height of the infinite Dyck path after n-th step.
The absolute values of the first differences give A000012.
For the height of the peaks and the valleys in the infinite Dyck path see A229946.
Q: Is this infinite Dyck path a fractal?

Examples

			Illustration of initial terms (n = 1..59):
.
11 ...........................................................
.                                                            /
.                                                           /
.                                                          /
7 ..................................                      /
.                                  /\                    /
5 ....................            /  \                /\/
.                    /\          /    \          /\  /
3 ..........        /  \        /      \        /  \/
2 .....    /\      /    \    /\/        \      /
1 ..  /\  /  \  /\/      \  /            \  /\/
.  /\/  \/    \/          \/              \/
.
Note that the j-th largest peak between two valleys at height 0 is also the partition number A000041(j).
Written as an irregular triangle in which row k has length 2*A138137(k), the sequence begins:
0,1;
0,1,2,1;
0,1,2,3,2,1;
0,1,2,1,2,3,4,5,4,3,2,1;
0,1,2,3,2,3,4,5,6,7,6,5,4,3,2,1;
0,1,2,1,2,3,4,5,4,3,4,5,6,5,6,7,8,9,10,11,10,9,8,7,6,5,4,3,2,1;
0,1,2,3,2,3,4,5,6,7,6,5,6,7,8,9,8,9,10,11,12,13,14,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1;
...
		

Crossrefs

Column 1 is A000004. Both column 2 and the right border are in A000012. Both columns 3 and 5 are in A007395.
Previous Showing 11-20 of 34 results. Next