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

A231351 a(n) = A231349(n+1)/2.

Original entry on oeis.org

1, 2, 2, 2, 4, 5, 4, 2, 4, 6, 8, 5, 10, 11, 8, 2, 4, 6, 8, 6, 12, 14, 16, 5, 10, 14, 20, 11, 22, 23, 16, 2, 4, 6, 8, 6, 12, 14, 16, 6, 12, 16, 24, 14, 28, 30, 32, 5, 10, 14, 20, 14, 28, 32, 40, 11, 22, 30, 44, 23, 46, 47, 32, 2, 4, 6, 8, 6, 12, 14, 16
Offset: 1

Views

Author

Omar E. Pol, Dec 17 2013

Keywords

Comments

Observation: the row sums of the first six rows coincide with the first six elements of A006234.
Is A006234 the row sums of this triangle?

Examples

			Written as an irregular triangle in which row lengths is A000079 the sequence begins:
1;
2,2;
2,4,5,4;
2,4,6,8,5,10,11,8;
2,4,6,8,6,12,14,16,5,10,14,20,11,22,23,16;
2,4,6,8,6,12,14,16,6,12,16,24,14,28,30,32,5,10,14,20,14,28,32,40,11,22,30,44,23,46,47,32;
		

Crossrefs

Right border gives A000079.

A231348 Number of triangles after n-th stage in a cellular automaton based in isosceles triangles of two sizes (see Comments lines for precise definition).

Original entry on oeis.org

0, 1, 3, 7, 11, 15, 23, 33, 41, 45, 53, 65, 81, 91, 111, 133, 149, 153, 161, 173, 189, 201, 225, 253, 285, 295, 315, 343, 383, 405, 449, 495, 527, 531, 539, 551, 567, 579, 603, 631, 663, 675, 699, 731, 779, 807, 863, 923, 987, 997, 1017, 1045, 1085, 1113, 1169, 1233, 1313, 1335, 1379, 1439, 1527, 1573, 1665, 1759, 1823
Offset: 0

Views

Author

Omar E. Pol, Dec 15 2013

Keywords

Comments

On the semi-infinite square grid the structure of this C.A. contains "black" triangles and "gray" triangles (see the Links section). Both types of triangles have two sides of length 5^(1/2). Every black triangle has a base of length 2 hence its height is 2 and its area is 2. Every gray triangle has a base of length 2^(1/2) hence its height is 3/(2^(1/2)) and its area is 3/2. Both types of triangles are arranged in the same way as the triangles of Sierpinski gasket (see A047999 and A006046). The black triangles are arranged in vertical direction. On the other hand the gray triangles are arranged in diagonal direction in the holes of the structure formed by the black triangles. Note that the vertices of all triangles coincide with the grid points.
The sequence gives the total number of triangles (black and gray) in the structure after n-th stage. A231349 (the first differences) gives the number of triangles added at n-th stage.
For a more complex structure see A233780.

Examples

			We start at stage 0 with no triangles, so a(0) = 0.
At stage 1 we add a black triangle, so a(1) = 1.
At stage 2 we add two black triangles, so a(2) = 1+2 = 3.
At stage 3 we add two black triangles and two gray triangles from the vertices of the master triangle, so a(3) = 3+2+2 = 7.
At stage 4 we add four black triangles, so a(4) = 7+4 = 11.
At stage 5 we add two black triangles and two gray triangles from the vertices of the master triangle, so a(5) = 11+2+2 = 15.
At stage 6 we add four black triangles and four gray triangles, so a(6) = 15+4+4 = 23.
At stage 7 we add four black triangles and six gray triangles, so a(7) = 23+4+6 = 33.
At stage 8 we add eight black triangles, so a(8) = 33+8 = 41.
And so on.
Note that always we add both black triangles and gray triangles except if n is a power of 2. In this case at stage 2^k we add only 2^k black triangles, for k >= 0.
		

Crossrefs

A233781 Number of toothpicks or D-toothpicks added at n-th stage to the structure of the D-toothpick "wide" triangle of A233780.

Original entry on oeis.org

0, 1, 2, 2, 4, 2, 4, 6, 8, 2, 4, 6, 10, 10, 8, 14, 16, 2, 4, 6, 10, 10, 10, 18, 24, 18, 8, 14, 22, 26, 16, 30, 32, 2, 4, 6, 10, 10, 10, 18, 24, 18, 10, 18, 30, 38, 26, 42, 52, 34, 8, 14, 22, 26, 22, 42, 56, 50, 16, 30, 46, 58, 32, 62, 64, 2, 4, 6, 10, 10
Offset: 0

Views

Author

Omar E. Pol, Dec 15 2013

Keywords

Comments

Essentially the first differences of A233780.
First differs from A170905 at a(24).
First differs from A233971 at a(25).
First differs from A233765 at a(44).

Examples

			Written as an irregular triangle in which the row lengths is A011782 the sequence (starting from 1) begins:
1;
2;
2,4;
2,4,6,8;
2,4,6,10,10,8,14,16;
2,4,6,10,10,10,18,24,18,8,14,22,26,16,30,32;
2,4,6,10,10,10,18,24,18,10,18,30,38,26,42,52,34,8,14,22,26,22,42,56,50,16,30,46,58,32,62,64;
Right border gives A000079.
		

Crossrefs

A233765 Number of toothpicks or D-toothpicks added at n-th stage to the structure of the toothpick "wide" triangle of A233764.

Original entry on oeis.org

0, 1, 2, 2, 4, 2, 4, 6, 8, 2, 4, 6, 10, 10, 8, 14, 16, 2, 4, 6, 10, 10, 10, 18, 24, 18, 8, 14, 22, 26, 16, 30, 32, 2, 4, 6, 10, 10, 10, 18, 24, 18, 10, 18, 28, 38, 30, 50, 54, 34, 8, 14, 22, 26, 22, 42, 56, 50, 16, 30, 46, 58, 32, 62, 64, 2, 4, 6, 10, 10
Offset: 0

Views

Author

Omar E. Pol, Dec 16 2013

Keywords

Comments

Essentially the first differences of A233764.
First differs from A170905 at a(24).
First differs from A233971 at a(25).
First differs from A233781 at a(44).

Examples

			Written as an irregular triangle in which the row lengths is A011782 the sequence (starting from 1) begins:
1;
2;
2,4;
2,4,6,8;
2,4,6,10,10,8,14,16;
2,4,6,10,10,10,18,24,18,8,14,22,26,16,30,32;
2,4,6,10,10,10,18,24,18,10,18,28,38,30,50,54,34,8,14,22,26,22,42,56,50,16,30,46,58,32,62,64;
Right border gives A000079.
		

Crossrefs

Showing 1-4 of 4 results.