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-10 of 17 results. Next

A194694 Corner sequence associated with A194442 and A194443.

Original entry on oeis.org

0, 2, 4, 8, 14, 22, 30, 41, 57, 70, 80, 92, 112, 134, 160, 184, 220, 241, 251, 263
Offset: 0

Views

Author

Omar E. Pol, Sep 01 2011

Keywords

Comments

The sequence gives the number of toothpicks and D-toothpicks after n-th stage in the D-toothpick "corner" structure related to the D-toothpick "narrow" triangle (See A194442). The first differences (A194695) give the number of toothpicks or D-toothpicks added at n-th stage.

Crossrefs

A194270 D-toothpick sequence of the second kind (see Comments lines for definition).

Original entry on oeis.org

0, 1, 5, 13, 29, 51, 75, 97, 137, 177, 209, 241, 297, 371, 467, 517, 605, 677, 709, 757, 829, 933, 1061, 1173, 1317, 1461, 1613, 1709, 1861, 2039, 2279, 2401, 2585, 2721, 2753, 2801, 2873, 2981, 3125, 3269, 3453, 3641, 3841, 4017, 4289, 4563, 4979, 5229
Offset: 0

Views

Author

Omar E. Pol, Aug 23 2011

Keywords

Comments

This is a cellular automaton of forking paths to 135 degrees which uses elements of two sizes: toothpicks of length 1 and D-toothpicks of length 2^(1/2). Toothpicks are placed in horizontal or vertical direction. D-toothpicks are placed in diagonal direction. Toothpicks and D-toothpicks are connected by their endpoints.
On the infinite square grid we start with no elements.
At stage 1, we place anywhere a D-toothpick.
The rule for adding new elements is as follows. Each exposed endpoint of the elements of the old generation must be touched by the two endpoints of two elements of the new generation such that the angle between the old element and each new element is equal to 135 degrees. Intersections and overlapping are prohibited, so some toothpick endpoints can remain exposed forever.
The sequence gives the number of toothpicks and D-toothpicks in the structure after n-th stage. The first differences (A194271) give the number of toothpicks and D-toothpicks added at n-th stage.
If n >> 1 the structure looks like an almost regular octagon. The structure has a fractal-like behavior related to powers of 2 (see formula section in A194271 and A194443). Note that for some values of n we can see an internal growth, similar to A160120. Also there are hidden substructures which have a surprising connection with the Sierpinski triangle. The hidden substructures are displayed more clearly for large values of n without reducing the scale of the drawing. The main "wedges" in the structures are essentially the triangles A194440 and A194442.
Note that this structure is much more complex than A139250 and A160120. The structure contains a large number of distinct polygonal shapes. There are convex polygons and concave polygons, also there are symmetrical and asymmetrical polygons. Several of these polygons are also in the structure of A172310. The number of edges of the known polygons are 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 20, 24. Is not known how many distinct types of polygons there are in the structure if n -> infinite. The sequences related with these polygons are A194276, A194277, A194278 and A194283. Note that the structure is not centered with respect to the axes X, Y. Also, for some polygons the area is not an integer. For symmetric versions of C. A. see A194432 and A194434.
Another representation (Large version): instead toothpicks of length 1 we place toothpicks of length 2. We start with no toothpicks. At stage 1, we place a toothpick of length 2 on the y-axis and centered at the origin. At stage 2 we place four D-toothpicks of length 2^(1/2) = sqrt(2), and so on. In this case the structure is centered with respect to the axes X, Y and the area of the polygons is an integer.
[It appears that a normal toothpick is a line segment of length 1 that is parallel to the x-axis or the y-axis. A D-toothpick is a line segment of length sqrt(2) with slope +-1. D stands for diagonal. - N. J. A. Sloane, Feb 06 2023]

Examples

			Illustration of initial terms:
.                                            o   o
.                                             \ /
.                        o                     o     o
.                        |                     |    /
.        o               o - o         o       o - o
.       /               /               \     /     \
.      o           o - o                 o - o       o
.                      |                /    |
.                      o               o     o
.                                           / \
.                                          o   o
.
.       1               5                    13
.
		

Crossrefs

Extensions

More terms from Omar E. Pol, Sep 01 2011

A194271 Number of toothpicks or D-toothpicks added at n-th stage to the structure of A194270.

Original entry on oeis.org

0, 1, 4, 8, 16, 22, 24, 22, 40, 40, 32, 32, 56, 74, 96, 50, 88, 72, 32, 48, 72, 104, 128, 112, 144, 144, 152, 96, 152, 178, 240, 122, 184, 136, 32, 48, 72, 108, 144, 144, 184, 188, 200, 176, 272, 274, 416, 250, 288, 272, 216, 144, 208, 292, 384, 332, 376
Offset: 0

Views

Author

Omar E. Pol, Aug 23 2011

Keywords

Comments

Essentially the first differences of A194270.

Examples

			Written as a triangle:
0,
1,
4,
8,
16,22,
24,22,40,40,
32,32,56,74,96,50,88,72,
32,48,72,104,128,112,144,144,152,96,152,178,240,122,184,136,
32,48,72,108,144,144,184,188,200,176,272,274,416,250,288,...
		

Crossrefs

Formula

a(n) = n^2-(n-1)^2*(1-(-1)^n)/8, if 0 <= n <=4.
Let b(n) = A194441(n), let c(n) = A194443(n), let d(n) = A010694(n), then:
Conjecture: a(n) = 4*(b(n-1)-d(n)) + 2*(c(n)-d(n+1)) + 2*(c(n+2)-d(n+1)) + 8, if n >= 3.
Conjecture: a(2^k+2) = 32, if k >= 3.

Extensions

More terms from Omar E. Pol, Sep 01 2011

A220501 Number of toothpicks or D-toothpicks added at n-th stage in the structure of A220500.

Original entry on oeis.org

0, 1, 4, 8, 16, 22, 24, 24, 36, 40, 32, 44, 64, 94, 72, 56, 76, 72, 32, 48, 80, 112, 140, 140, 140, 168, 120, 132, 168, 238, 168, 120, 156, 136, 32, 48, 80, 112, 140, 144, 164, 224, 216, 256, 272, 368, 324, 316, 280, 296, 160, 150, 232, 320, 404, 432, 408, 462, 300, 308, 376, 526, 360, 248, 316, 264, 32
Offset: 0

Views

Author

Omar E. Pol, Dec 15 2012

Keywords

Comments

Essentially the first differences of A220500.

Examples

			Written as an irregular triangle the sequence begins:
0;
1;
4;
8;
16,22;
24,24,36,40;
32,44,64,94,72,56,76,72;
32,48,80,112,140...
.
From _Omar E. Pol_, May 02 2018: (Start)
Also the nonzero terms can be written as an irregular triangle in which the row lengths are the terms of A011782 multiplied by 2 as shown below:
1,    4;
8,   16;
22,  24, 24, 36;
40,  32, 44, 64,  94,  72,  56,  76;
72,  32, 48, 80, 112, 140, 140, 140, 168, 120, 132, 168, 238, 168, 120, 156;
136, 32, 48, 80, 112, 140, 144, 164, 224, 216, 256, 272, 368, 324, 316, 280, ...
(End)
		

Crossrefs

Extensions

Terms a(23) and beyond from David Applegate's movie version. - Omar E. Pol, May 02 2018

A194442 Number of toothpicks and D-toothpicks after n-th stage in the D-toothpick "narrow" triangle of the second kind.

Original entry on oeis.org

0, 1, 3, 7, 11, 15, 19, 26, 34, 38, 42, 50, 62, 70, 78, 91, 107, 111, 115, 123, 135, 151, 167, 187, 211, 223, 231, 247, 275, 291, 307, 332, 364, 368, 372, 380, 392, 408, 424, 446, 478, 504, 524, 548, 588, 620, 660, 693, 741, 761, 769, 785, 813, 853, 897, 947
Offset: 0

Views

Author

Omar E. Pol, Aug 29 2011

Keywords

Comments

If n = 2^k, k >= 1, then the structure looks like an isosceles triangle. For the D-toothpick "wide" triangle of the second kind see A194440.
The structure is essentially one of the wedges of several D-toothpick structures. For more information see A194270. The first differences (A194443) give the number of toothpicks or D-toothpicks added at n-th stage. - Omar E. Pol, Mar 28 2013

Crossrefs

A194441 Number of toothpicks or D-toothpicks added at n-th stage to the structure of A194440.

Original entry on oeis.org

0, 1, 2, 4, 4, 4, 4, 8, 8, 4, 4, 8, 12, 16, 8, 16, 16, 4, 4, 8, 12, 16, 16, 24, 26, 24, 12, 20, 28, 40, 20, 32, 32, 4, 4, 8, 12, 16, 16, 24, 26, 24, 20, 32, 40, 64, 40, 48, 54, 40, 12, 20, 32, 48, 48, 64, 70, 76, 30, 44, 64, 88, 44, 64, 64, 4, 4, 8, 12
Offset: 0

Views

Author

Omar E. Pol, Aug 29 2011

Keywords

Comments

Essentially the first differences of A194440.

Examples

			If written as a triangle:
0,
1,
2,
4,4,
4,4,8,8,
4,4,8,12,16,8,16,16,
4,4,8,12,16,16,24,26,24,12,20,28,40,20,32,32,
4,4,8,12,16,16,24,26,24,20,32,40,64,40,48,54,40,12,20,...
.
It appears that rows converge to A194696.
		

Crossrefs

Formula

Conjectures for n = 2^k+j, if -1<=j<=3:
a(2^k-1) = 2^k, if k >= 2.
a(2^k+0) = 2^k, if k >= 0.
a(2^k+1) = 4, if k >= 1.
a(2^k+2) = 4, if k >= 1.
a(2^k+3) = 8, if k >= 2.
End of conjectures.

Extensions

More terms from Omar E. Pol, Dec 28 2012

A220521 Number of toothpicks or D-toothpicks added at n-th stage in the toothpick structure of A220520.

Original entry on oeis.org

1, 2, 4, 4, 4, 4, 8, 8, 4, 4, 8, 12, 16, 12, 16, 16, 4, 4, 8, 12, 16, 20, 24, 26, 24, 12, 20, 32, 40, 28, 32, 32, 4, 4, 8, 12, 16, 20, 24, 26, 24, 20, 32, 44, 64, 52, 48, 54, 40, 12, 20, 36, 48, 56, 64, 74, 76, 30, 44, 72, 88, 60, 64, 64, 4, 4, 8, 12
Offset: 1

Views

Author

Omar E. Pol, Dec 15 2012

Keywords

Comments

From Omar E. Pol, Apr 26 2020: (Start)
The cellular automaton described in A220520 has word "ab", so the structure of this triangle is as follows:
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;
...
The row lengths are the terms of A011782 multiplied by 2, equaling the column 2 of the square array A296612: 2, 2, 4, 8, 16, ...
This arrangement has the property that the odd-indexed columns (a) contain numbers of the toothpicks of length 1, and the even-indexed columns (b) contain numbers of the D-toothpicks.
For further information about the "word" of a cellular automaton see A296612. (End)

Examples

			Written as an irregular triangle the sequence begins:
1,2;
4,4;
4,4,8,8;
4,4,8,12,16,12,16,16;
4,4,8,12,16,20,24,26,24,12,20,32,40,28,32,32;
4,4,8,12,16,20,24,26,24,20,32,44,64,52,48,54,40,12,20,...
Triangle reformatted by _Omar E. Pol_, Apr 26 2020
		

Crossrefs

First differences of A220520.
First differs from A194441 at a(14).
Columns 1-3: A123932, A040002, A010731.

Extensions

0 removed and offset changed by Omar E. Pol, Apr 26 2020

A194445 Number of toothpicks or D-toothpicks added at n-th stage to the structure of A194444.

Original entry on oeis.org

0, 1, 2, 4, 4, 4, 8, 11, 8, 4, 8, 16, 24, 12, 20, 25, 16, 4, 8, 16, 24, 28, 36, 42, 44, 20, 24, 40, 64, 32, 44, 53, 32, 4, 8, 16, 24, 28, 36, 44, 52, 42, 48, 60, 100, 68, 84, 83, 84, 28, 24, 44, 72, 84, 104, 116, 132, 54, 56, 92, 144, 72, 92, 109, 64, 4
Offset: 0

Views

Author

Omar E. Pol, Aug 24 2011

Keywords

Comments

Essentially the first differences of A194444.
First differs from A220525 at a(13). - Omar E. Pol, Mar 23 2013

Examples

			Contribution from _Omar E. Pol_, Dec 05 2012 (Start):
Triangle begins:
0;
1;
2;
4,4;
4,8,11,8;
4,8,16,24,12,20,25,16;
4,8,16,24,28,36,42,44,20,24,40,64,32,44,53,32;
(End)
		

Crossrefs

Row lengths give 1 together with A011782. Right border gives 0 together with A000079.

Formula

It appears that a(2^k+1) = 4, if k >= 1.
a(n) = A194435(n)/4. - Omar E. Pol, Mar 23 2013

Extensions

More terms from Omar E. Pol, Mar 23 2013

A220523 Number of toothpicks or D-toothpicks added at n-th stage in the structure of the D-toothpick "narrow" triangle of A220522.

Original entry on oeis.org

0, 1, 2, 4, 4, 4, 4, 7, 8, 4, 4, 8, 12, 8, 8, 13, 16, 4, 4, 8, 12, 16, 16, 20, 24, 12, 8, 16, 28, 16, 16, 25, 32, 4, 4, 8, 12, 16, 16, 22, 32, 26, 20, 24, 40, 32, 40, 41, 48, 20, 8
Offset: 0

Views

Author

Omar E. Pol, Dec 15 2012

Keywords

Comments

Essentially the first differences of A220522. First differs from A194443 at a(47).

Examples

			Written as an irregular triangle begins:
0;
1;
2;
4,4;
4,4,7,8;
4,4,8,12,8,8,13,16;
4,4,8,12,16,16,20,24,12,8,16,28,16,16,25,32;
4,4,8,12,16,16,22,32,26,20,24,40,32,40,41,48,20,8,...
		

Crossrefs

A194433 Number of toothpicks and D-toothpicks added at n-th stage to the structure of A194432.

Original entry on oeis.org

0, 4, 8, 16, 16, 16, 28, 48, 32, 16, 32
Offset: 0

Views

Author

Omar E. Pol, Sep 03 2011

Keywords

Comments

Essentially the first differences of A194432.

Crossrefs

Formula

Conjecture: a(2^k+1) = 16, if k >= 1 .
Showing 1-10 of 17 results. Next