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

A327330 "Concave pentagon" toothpick sequence (see Comments for precise definition).

Original entry on oeis.org

0, 1, 3, 7, 11, 15, 23, 33, 41, 45, 53, 63, 75, 89, 111, 133, 149, 153, 161, 171, 183, 197, 219, 241, 261, 275, 299, 327, 361, 403, 463, 511, 547, 551, 559, 569, 581, 595, 617, 639, 659, 673, 697, 725, 759, 801, 861, 909, 949, 967, 995, 1029, 1075, 1125, 1183, 1233, 1281, 1321, 1389, 1465, 1549, 1657
Offset: 0

Views

Author

Omar E. Pol, Sep 01 2019

Keywords

Comments

This arises from a hybrid cellular automaton on a triangular grid formed of I-toothpicks (A160164) and V-toothpicks (A161206).
The surprising fact is that after 2^k stages the structure looks like a concave pentagon, which is formed essentially by an equilateral triangle (E) surrounded by two quadrilaterals (Q1 and Q2), both with their largest sides in vertical position, as shown below:
.
* *
* * * *
* * * *
* * *
* Q1 * Q2 *
* * * *
* * * *
* * * *
* * * *
* * E * *
* * * *
* * * *
** **
* * * * * * * * * *
.
Note that for n >> 1 both quadrilaterals look like right triangles.
Every polygon has a slight resemblance to Sierpinsky's triangle, but here the structure is much more complex.
For the construction of the sequence the rules are as follows:
On the infinite triangular grid at stage 0 there are no toothpicks, so a(0) = 0.
At stage 1 we place an I-toothpick formed of two single toothpicks in vertical position, so a(1) = 1.
For the next n generation we have that:
If n is even then at every free end of the structure we add a V-toothpick, formed of two single toothpicks, with its central vertex directed upward, like a gable roof.
If n is odd then we add I-toothpicks in vertical position (see the example).
a(n) gives the total number of I-toothpicks and V-toothpicks in the structure after the n-th stage.
A327331 (the first differences) gives the number of elements added at the n-th stage.
2*a(n) gives the total number of single toothpicks of length 1 after the n-th stage.
The structure contains many kinds of polygonal regions, for example: triangles, trapezes, parallelograms, regular hexagons, concave hexagons, concave decagons, concave 12-gons, concave 18-gons, concave 20-gons, and other polygons.
The structure is almost identical to the structure of A327332, but a little larger at the upper edge.
The behavior seems to suggest that this sequence can be calculated with a formula, in the same way as A139250, but that is only a conjecture.
The "word" of this cellular automaton is "ab". For more information about the word of cellular automata see A296612.
For another version, very similar, starting with a V-toothpick, see A327332, which it appears that shares infinitely many terms with this sequence.

Examples

			Illustration of initial terms:
.
               |      /|\     |/|\|
               |       |      | | |
                      / \     |/ \|
                              |   |
n   :  0       1       2        3
a(n):  0       1       3        7
After three generations there are five I-toothpicks and two V-toothpicks in the structure, so a(3) = 5 + 2 = 7 (note that in total there are 2*a(3) = 2*7 = 14 single toothpicks of length 1).
		

Crossrefs

First differs from A231348 at a(11).
Cf. A047999, A139250 (normal toothpicks), A160164 (I-toothpicks), A160722 (a concave pentagon with triangular cells), A161206 (V-toothpicks), A296612, A323641, A323642, A327331 (first differences), A327332 (another version).
For other hybrid cellular automata, see A194270, A194700, A220500, A289840, A290220, A294020, A294962, A294980, A299770, A323646, A323650.

Formula

Conjecture: a(2^k) = A327332(2^k), k >= 0.

A327331 Number of elements added at n-th stage to the toothpick structure of A327330.

Original entry on oeis.org

1, 2, 4, 4, 4, 8, 10, 8, 4, 8, 10, 12, 14, 22, 22, 16, 4, 8, 10, 12, 14, 22, 22, 20, 14, 24, 28, 34, 42, 60, 48, 36, 4, 8, 10, 12, 14, 22, 22, 20, 14, 24, 28, 34, 42, 60, 48, 40, 18, 28, 34, 46, 50, 58, 50, 48, 40, 68, 76, 84, 108, 156, 100, 76, 4, 8, 10, 12, 14, 22, 22, 20, 14, 24, 28, 34, 42, 60, 48, 40
Offset: 1

Views

Author

Omar E. Pol, Sep 01 2019

Keywords

Comments

The word of this cellular automaton is "ab".
The structure of the irregular triangle is as shown below:
a,b;
a,b;
a,b,a,b;
a,b,a,b,a,b,a,b;
a,b,a,b,a,b,a,b,a,b,a,b,a,b,a,b;
...
Row lengths are the terms of A011782 multiplied by 2, also the column 2 of A296612.
Columns "a" contain numbers of I-toothpicks.
Columns "b" contain numbers of V-toothpicks.
For further information about the word of cellular automata see A296612.

Examples

			Triangle begins:
1,2;
4,4;
4,8,10,8;
4,8,10,12,14,22,22,16;
4,8,10,12,14,22,22,20,14,24,28,34,42,60,48,36;
4,8,10,12,14,22,22,20,14,24,28,34,42,60,48,40,18,28,34,46,50,58,50,48,40,68,...
		

Crossrefs

First differences of A327330.
Column 1 gives A123932.
First differs from A231348 at a(11).
For other hybrid cellular automata, see A194271, A194701, A220501, A289841, A290221, A294021, A294963, A294981, A299771, A323647, A323651.

A327332 "Concave pentagon" toothpick sequence, starting with a V-toothpick (see Comments for precise definition).

Original entry on oeis.org

0, 1, 3, 7, 11, 15, 21, 33, 41, 45, 51, 63, 75, 85, 101, 133, 149, 153, 159, 171, 183, 193, 209, 241, 261, 273, 291, 327, 363, 389, 431, 515, 547, 551, 557, 569, 581, 591, 607, 639, 659, 671, 689, 725, 761, 787, 829, 913, 953, 969, 993, 1041, 1085, 1109, 1149, 1229, 1277, 1309, 1357, 1453, 1549, 1613
Offset: 0

Views

Author

Omar E. Pol, Sep 01 2019

Keywords

Comments

Another version and very similar to A327330.
This arises from a hybrid cellular automaton on a triangular grid formed of V-toothpicks (A161206) and I-toothpicks (A160164).
After 2^k stages, the structure looks like a concave pentagon, which is formed essentially by an equilateral triangle (E) surrounded by two right triangles (R1 and R2) both with their hypotenuses in vertical position, as shown below:
.
* *
* * * *
* * * *
* * *
* R1 * * R2 *
* * * *
* * * *
* * * *
* * E * *
* * * *
* * * *
** **
* * * * * * * * * *
.
Every triangle has a slight resemblance to Sierpinsky's triangle, but here the structure is much more complex.
For the construction of the sequence the rules are as follows:
On the infinite triangular grid at stage 0 there are no toothpicks, so a(0) = 0.
At stage 1 we place an V-toothpick, formed of two single toothpicks, with its central vertice directed up, like a gable roof, so a(1) = 1.
For the next n generation we have that:
If n is even then at every free end of the structure we add a I-toothpick formed of two single toothpicks in vertical position.
If n is odd then at every free end of the structure we add a V-toothpick, formed of two single toothpicks, with its central vertex directed upward, like a gable roof (see the example).
a(n) gives the total number of V-toothpicks and I-toothpicks in the structure after the n-th stage.
A327333 (the first differences) gives the number of elements added at the n-th stage.
2*a(n) gives the total number of single toothpicks of length 1 after the n-th stage.
The structure contains many kinds of polygonal regions, for example: triangles, trapezes, parallelograms, regular hexagons, concave hexagons, concave decagons, concave 12-gons, concave 18-gons, concave 20-gons, and other polygons.
The structure is almost identical to the structure of A327330, but a little smaller.
The behavior seems to suggest that this sequence can be calculated with a formula, in the same way as A139250, but that is only a conjecture.
The "word" of this cellular automaton is "ab". For more information about the word of cellular automata see A296612.
It appears that A327330 shares infinitely many terms with this sequence.

Examples

			Illustration of initial terms:
.
.             /\     |/\|
.                    |  |
.
n:     0       1       2
a(n):  0       1       3
After two generations there are only one V-toothpick and two I-toothpicks in the structure, so a(2) = 1 + 2 = 3 (note that in total there are 2*a(2)= 2*3 = 6 single toothpicks of length 1).
		

Crossrefs

Cf. A139250 (normal toothpicks), A160164 (I-toothpicks), A160722 (a concave pentagon with triangular cells), A161206 (V-toothpicks), A296612, A323641, A323642, A327333 (first differences), A327330 (another version).
For other hybrid cellular automata, see A194270, A194700, A220500, A289840, A290220, A294020, A294962, A294980, A299770, A323646, A323650.

Formula

Conjecture: a(2^k) = A327330(2^k), k >= 0.

A327333 Number of elements added at n-th stage to the toothpick structure of A327332.

Original entry on oeis.org

1, 2, 4, 4, 4, 6, 12, 8, 4, 6, 12, 12, 10, 16, 32, 16, 4, 6, 12, 12, 10, 16, 32, 20, 12, 18, 36, 36, 26, 42, 84, 32, 4, 6, 12, 12, 10, 16, 32, 20, 12, 18, 36, 36, 26, 42, 84, 40, 16, 24, 48, 44, 24, 40, 80, 48, 32, 48, 96, 96, 64, 104, 208, 64, 4, 6, 12, 12, 10, 16, 32, 20, 12, 18, 36, 36, 26, 42, 84, 40
Offset: 1

Views

Author

Omar E. Pol, Sep 01 2019

Keywords

Comments

The word of this cellular automaton is "ab".
The structure of the irregular triangle is as shown below:
a,b;
a,b;
a,b,a,b;
a,b,a,b,a,b,a,b;
a,b,a,b,a,b,a,b,a,b,a,b,a,b,a,b;
...
Row lengths are the terms of A011782 multiplied by 2, also the column 2 of A296612.
Columns "a" contain numbers of V-toothpicks. Columns "b" contain numbers of I-toothpicks. See the example.
For further information about the word of cellular automata see A296612.

Examples

			Triangle begins:
1,2;
4,4;
4,6,12,8;
4,6,12,12,10,16,32,16;
4,6,12,12,10,16,32,20,12,18,36,36,26,42,84,32;
4,6,12,12,10,16,32,20,12,18,36,36,26,42,84,40,16,24,48,44,24,40,80,48,32,48,...
It appears that right border gives the even powers of 2.
		

Crossrefs

First differences of A327332.
Column 1 gives A123932.
For other hybrid cellular automata, see A194271, A194701, A220501, A289841, A290221, A294021, A294963, A294981, A299771, A323647, A323651.

A296610 Toothpick sequence on triangular grid in an infinite 60-degree wedge (see Comments lines for precise definition).

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 7, 10, 13, 15, 18, 21, 25, 31, 36, 38, 41, 44, 48, 54, 61, 67, 75, 80, 88, 100, 110, 113, 116, 119, 123, 129, 136, 142, 150, 157, 167, 183, 199, 210, 220, 225, 233, 245, 261, 276, 295, 306, 325, 351, 372, 378, 381, 384, 388, 394, 401, 407, 415, 422, 432, 448, 464, 475, 485, 492, 502, 518, 538, 559, 585
Offset: 0

Views

Author

Omar E. Pol, Mar 02 2019

Keywords

Comments

The rules are the same as the rules of A296510 (the toothpick sequence on triangular grid) but here we are in a 60-degree wedge. For the position of the initial toothpicks see the example.
a(n) gives the total number of toothpicks in the structure after n-th stage.
A296611, the first differences, gives the number of toothpicks added at n-th stage.
The "word" of this cellular automaton is "abc", the same as the word of A296510. For more information about the word of cellular automata see A296612.

Examples

			Illustration of the 60-degree wedge of the triangular grid and the first three terms of the sequence:
.
           /\             /\             /\
          /  \           / /\           / /\
         /    \         / /  \         /_/_ \
        /      \       /      \       /      \
       /        \     /        \     /        \
      /          \   /          \   /          \
n:          0              1              2
a(n):       0              1              2
.
At stage 0 there are no toothpicks in the wedge, so a(0) = 0.
At stage 1 we add a toothpick of length 2, so a(1) = 1.
At stage 2 we add a toothpick in horizontal position, so a(2) = a(1) + 1 = 1 + 1 = 2. Note that in the structure there is a trapeze of area 5.
Then, at stage 3 we add a toothpick such that a equilateral triangle of area 1 appears in the wedge.
Then, at stage 4 we add a toothpick placed in the same position as the first toothpick.
And so on.
		

Crossrefs

A296611 Number of toothpicks added at n-th stage to the toothpick structure of A296610.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 3, 3, 2, 3, 3, 4, 6, 5, 2, 3, 3, 4, 6, 7, 6, 8, 5, 8, 12, 10, 3, 3, 3, 4, 6, 7, 6, 8, 7, 10, 16, 16, 11, 10, 5, 8, 12, 16, 15, 19, 11, 19, 26, 21, 6, 3, 3, 4, 6, 7, 6, 8, 7, 10, 16, 16, 11, 10, 7, 10, 16, 20, 21, 26, 20, 25, 34, 36, 24, 16, 6, 8, 12, 16, 15, 19, 17, 25
Offset: 1

Views

Author

Omar E. Pol, Mar 02 2019

Keywords

Comments

The word of this cellular automaton is "abc", the same as the word of A296511, but here the irregular triangle starts with three rows of length 3 as shown below:
a,b,c;
a,b,c;
a,b,c;
a,b,c,a,b,c;
a,b,c,a,b,c,a,b,c,a,b,c;
a,b,c,a,b,c,a,b,c,a,b,c,a,b,c,a,b,c,a,b,c,a,b,c;
...
Row lengths are 3, 3, 3, 6, 12, 24, 48, 96, ... or in other words: 3 together with the column 3 of A296612.
See also the example.

Examples

			Triangle begins:
1,1,1;
1,1,2;
3,3,2;
3,3,4,6,5,2;
3,3,4,6,7,6,8,5, 8,12,10, 3;
3,3,4,6,7,6,8,7,10,16,16,11,10,5, 8,12,16,15,19,11,19,26,21, 6;
3,3,4,6,7,6,8,7,10,16,16,11,10,7,10,16,20,21,26,20,25,34,36,24,16,6,8,12,16, ...
...
		

Crossrefs

A336532 Square array read by antidiagonals upwards showing a stained glass windows with two colors and a hidden curve from the toothpick cellular automaton of A139250 (see Comments lines for definition).

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Oct 04 2020

Keywords

Comments

Inspired by Neil Sloane's presentation at Rutgers' Experimental Mathematics Seminar (see the Links section).
Beneath the familiar image of every cellular automaton lies an infinite world of hidden patterns, stained-glass windows, gaskets, curves and fractals.
As an example of this statement we will focus on the "toothpick" cellular automata. In general after 2^k stages, k >= 2, these structures looks like the framework of a stained-glass window (without the colored glass). Toothpicks represent the cames of the structure. Now the idea is to put the stained glass.
Here we will use the "toothpick" cellular automaton of A139250.
After every stage the square cells of the newly formed regions will be colored.
We have two colors. If n is odd, they are painted with the color 1. If n is even, they are painted with the color 2.
Note that there are infinitely many rules for coloring a cellular automaton since there are infinitely many colors related to infinitely many sequences, however, the rule used here seems quite natural, since the number of colors coincides with the number of letters of the "word" of this cellular automaton, which is "ab". So here we have toothpicks on the two axes of the infinite square grid, two associated sounds (tick-tock) and two colors.
After 2^k stages, k >= 2, a rectangular-stained-glass window with two colors will have been formed.
Conjecture 1: after 2^k stages the number of cells of color 1 is equal to the number of cells of color 2.
Conjecture 2: after 2^k stages, k >= 2, in the structure there are essentially one major region of color 1 and two major regions of color 2.
It appears that there are certain sub-quadrants that have the complementary structure and the opposite colors of other sub-quadrants.
This sequence is a square array read by antidiagonals upwards that represents the colors (1 or 2) of every cell in the fourth quadrant of the stained-glass windows. The corner of the array represents the cell whose upper-left vertex is the point (0,0) of the fourth quadrant of the structure.
For a binary sequence the 2's should be replaced with 0's.
Note that for the toothpick cellular automaton on triangular grid of A296510 (whose word is "abc") three colors should be used there. Same for the C.A. of A299476 and of A299478.
For more information on the "word" of a cellular automaton see A296612 and see ALSO the third triangle in the example section of A139251.
The following three steps refer to the visualization of hidden gaskets and hidden curves from the stained-glass windows of the toothpick structures.
First, a growth limit is set until the final stage 2^k.
Then the line segments other than the border between the two colors are removed.
Finally the colors are also removed.
In this case, two curves will be formed. One curve on the first and second quadrant and the other curve on the third and fourth quadrant. One curve is the reflection of the other.
After studying and analyzing the curve, a sequence and an animation could be made to represent it, from the stage 1 to n.
The curve obtained resembles the Hilbert curve and the Moore curve, but apparently here the curve is a bit more complex (see the example).

Examples

			The corner of the square array is as follows:
1, 1, 1, 1, 1, 1, 1, 1, ...
2, 2, 1, 2, 2, 2, 1, 2, ...
2, 1, 1, 2, 1, 2, 1, 2, ...
2, 2, 2, 2, 1, 1, 1, 2, ...
2, 1, 1, 1, 1, 1, 1, 2, ...
2, 1, 2, 2, 2, 2, 1, 2, ...
2, 1, 1, 2, 2, 1, 1, 2, ...
2, 2, 2, 2, 2, 2, 2, 2, ...
...
The above array represents the fourth quadrant of the stained-glass windows.
Below, the toothpick structure and two of its hidden patterns after 16 stages:
.   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _             _ _ _ _ _ _ _ _ _ _ _ _ _ _
.    |_ _|   |_ _|   |_ _|   |_ _|             |_ _     _ _     _ _     _ _|
.    | |_|_ _|_| |   | |_|_ _|_| |             |  _|   |_  |   |  _|   |_  |
.    |_|_|_ _|_|_|   |_|_|_ _|_|_|             | |_ _ _ _| |   | |_ _ _ _| |
.    |   | |_|_ _|_ _|_ _|_| |   |             |      _ _ _|   |_ _ _      |
.    |_ _|_|_|_ _|   |_ _|_|_|_ _|             |  _  |  _ _  2  _ _  |  _  |
.    | |_|_| | |_|_ _|_| | |_|_| |             | | |_| |  _|   |_  | |_| | |
.    |_|_ _|_|_|_|_ _|_|_|_|_ _|_|             | |_ _ _| |_ _ _ _| |_ _ _| |
.    |       |   | | |   |       |             |             1             |
.    |_ _ _ _|_ _|_|_|_ _|_ _ _ _|             |  _ _ _   _ _ _ _   _ _ _  |
.    | |_ _| | |_|_ _|_| | |_ _| |             | |  _  | |_     _| |  _  | |
.    |_|_|_|_|_|_|   |_|_|_|_|_|_|             | |_| | |_ _|   |_ _| | |_| |
.    |   | |_|_ _|_ _|_ _|_| |   |             |     |_ _ _  2  _ _ _|     |
.    |_ _|_|_|_ _|   |_ _|_|_|_ _|             |  _ _ _ _  |   |  _ _ _ _  |
.    | |_|_ _|_| |   | |_|_ _|_| |             | |_     _| |   | |_     _| |
.    |_|_|   |_|_|   |_|_|   |_|_|             |_ _|   |_ _|   |_ _|   |_ _|
.   _|_ _|_ _|_ _|_ _|_ _|_ _|_ _|_            |_ _ _ _ _ _ _ _ _ _ _ _ _ _|
.
.              Figure  1                                  Figure 2
.       The toothpick structure                    The hidden curves are
.             of A139250.                          the boundaries between
.                                                  the colors 1 and 2.
.
.     _ _     _ _     _ _     _ _
.       _|   |_  |   |  _|   |_
.      |_ _ _ _| |   | |_ _ _ _|
.           _ _ _|   |_ _ _
.       _  |  _ _     _ _  |  _
.      | |_| |  _|   |_  | |_| |
.      |_ _ _| |_ _ _ _| |_ _ _|
.
.       _ _ _   _ _ _ _   _ _ _
.      |  _  | |_     _| |  _  |
.      |_| | |_ _|   |_ _| | |_|
.          |_ _ _     _ _ _|
.       _ _ _ _  |   |  _ _ _ _
.      |_     _| |   | |_     _|
.     _ _|   |_ _|   |_ _|   |_ _
.
.               Figure  3
.          The hidden curves.
.
Below, the hidden curve in the fourth quadrant after 32 stages of the cellular automaton:
      _ _   _ _ _   _ _ _ _ _ _ _
.       _| |  _  | |  _ _     _  |
.      |_ _| | |_| | |  _|   | |_|
.       _ _ _|     | | |_ _  |
.      |  _ _ _ _  | |_ _  | |  _
.      | |_     _| |  _  | | |_| |
.      |_ _|   |_ _| | |_| |_ _ _|
.       _ _ _ _ _ _ _|
       |  _ _ _   _ _ _ _   _ _ _
.      | |  _  | |_     _| |  _  |
.      | |_| | |_ _|   |_ _| | |_|
.      |     |_ _ _     _ _ _|
.      |  _ _ _ _  |   |  _ _ _ _
.      | |_     _| |   | |_     _|
.      |_ _|   |_ _|   |_ _|   |_ _
.
.               Figure  4
.           The hidden curve.
.
		

Crossrefs

Cf. A160120 (word "a"), A139250 (word "ab"), A296510 (word "abc"), A299476 (word "abcb"), A299478 (word "abcbc").

A355311 Number of V-toothpicks added at n-th stage to the V-toothpick structure of A355310.

Original entry on oeis.org

1, 2, 4, 6, 8, 6, 10, 14, 18, 10, 10, 14, 20, 18, 24, 36, 44, 22
Offset: 1

Views

Author

Jean Hoffmann and Omar E. Pol, Jul 20 2022

Keywords

Comments

An idea from Jean Hoffmann.

Examples

			Written as an irregular triangle in which the row lengths give 1 together with A011782 the sequence begins:
   1;
   2;
   4;
   6,  8;
   6, 10, 14, 18;
  10, 10, 14, 20, 18, 24, 36, 44;
   ...
		

Crossrefs

Previous Showing 21-28 of 28 results.