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

A220500 D-toothpick sequence of the third kind starting with a single toothpick.

Original entry on oeis.org

0, 1, 5, 13, 29, 51, 75, 99, 135, 175, 207, 251, 315, 409, 481, 537, 613, 685, 717, 765, 845, 957, 1097, 1237, 1377, 1545, 1665, 1797, 1965, 2203, 2371, 2491, 2647, 2783, 2815, 2863, 2943, 3055, 3195, 3339, 3503, 3727, 3943, 4199, 4471, 4839, 5163, 5479, 5759, 6055, 6215, 6365, 6597, 6917, 7321, 7753, 8161
Offset: 0

Views

Author

Omar E. Pol, Dec 15 2012

Keywords

Comments

This is a cellular automaton of forking paths to 135 degrees which uses elements of three sizes: toothpicks of length 1, D-toothpicks of length 2^(1/2) and D-toothpicks of length 2^(1/2)/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, place a single toothpick on the paper, aligned with the y-axis. 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.
The sequence gives the number of toothpicks and D-toothpicks in the structure after n-th stage. The first differences (A220501) give the number of toothpicks or D-toothpicks added at n-th stage.
It appears that if n >> 1 the structure looks like an octagon. This C.A. has a fractal (or fractal-like) behavior related to powers of 2. Note that for some values of n we can see an internal growth.
The structure contains eight wedges. Each vertical wedge (see A220520) also contains infinitely many copies of the oblique wedges. Each oblique wedge (see A220522) also contains infinitely many copies of the vertical wedges. Finally, each horizontal wedge also contains infinitely many copies of the vertical wedges and of the oblique wedges.
The structure is mysterious: it contains at least 59 distinct internal regions (or polygonal pieces), for example: one of the concave octagons appears for first time at stage 223. The largest known polygon is a concave 24-gon. The exact number of distinct polygons is unknown.
Also the structure contains infinitely many copies of two subsets of distinct size which are formed by five polygons: three hexagons, a 9-gon and a pentagon. These subsets have a surprising connection with the Sierpinski triangle A047999, but the pattern is more complex.
Apparently this cellular automaton has the most complex structure of all the toothpick structures that have been studied (see illustrationsm also the illustrations of the wedges in the entries A220520 and A220522).
The structure contains at least 69 distinct polygonal pieces. The largest known polygon is a concave 24-gon of area 95/2 = 47.5 which appears for first time at stage 879. - Omar E. Pol, Feb 10 2018

Crossrefs

Extensions

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

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

A290221 Number of elements added at n-th stage to the structure of the narrow cross described in A290220.

Original entry on oeis.org

0, 2, 4, 4, 8, 8, 8, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12, 8, 16, 12
Offset: 0

Views

Author

Omar E. Pol, Jul 24 2017

Keywords

Comments

For n = 0..6 the sequence is similar to some toothpick sequences.
The surprising fact is that for n >= 7 the sequence has periodic tail. More precisely, it has period 3: repeat [8, 16, 12]. This tail is in accordance with the expansion of the four arms of the cross.
This is essentially the first differences of A290221. The behavior is similar to A289841 and A294021 in the sense that these three sequences from cellular automata have the property that after the initial terms the continuation is a periodic sequence. - Omar E. Pol, Oct 29 2017

Examples

			For n = 0..6 the sequence is: 0, 2, 4, 4, 8, 8, 8;
Terms 7 and beyond can be arranged in a rectangular array with three columns as shown below:
8, 16, 12;
8, 16, 12;
8, 16, 12;
8, 16, 12;
...
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{0,0,1},{0,2,4,4,8,8,8,8,16,12},90] (* Harvey P. Dale, Dec 31 2018 *)
  • PARI
    concat(0, Vec(2*x*(1 + 2*x + 2*x^2 + 3*x^3 + 2*x^4 + 2*x^5 + 4*x^7 + 2*x^8) / ((1 - x)*(1 + x + x^2)) + O(x^100))) \\ Colin Barker, Nov 12 2017

Formula

G.f.: 2*x*(1 + 2*x + 2*x^2 + 3*x^3 + 2*x^4 + 2*x^5 + 4*x^7 + 2*x^8) / ((1 - x)*(1 + x + x^2)). - Colin Barker, Nov 12 2017

A289841 Number of elements added at n-th stage to the structure of the complex square cross described in A289840.

Original entry on oeis.org

0, 1, 2, 8, 8, 8, 8, 32, 16, 16, 16, 48, 16, 16, 16, 64, 48, 32, 32, 80, 16, 16, 16, 64, 48, 48, 32, 80, 16, 16, 16, 64, 48, 48, 32, 80, 16, 16, 16, 64, 48, 48, 32, 80, 16, 16, 16, 64, 48, 48, 32, 80, 16, 16, 16, 64, 48, 48, 32, 80, 16, 16, 16, 64, 48, 48, 32, 80, 16, 16, 16, 64, 48, 48, 32, 80, 16, 16, 16, 64, 48
Offset: 0

Views

Author

Omar E. Pol, Jul 14 2017

Keywords

Comments

For n = 0..17 the sequence is similar to the known toothpick sequences.
The surprising fact is that for n >= 18 the sequence has a periodic tail. More precisely, it has period 8: repeat [32, 80, 16, 16, 16, 64, 48, 48]. This tail is in accordance with the expansion of the four arms of the cross. The tail also can be written starting from the 20th stage, with period 8: repeat [16, 16, 16, 64, 48, 48, 32, 80], (see example).
This sequence is essentially the first differences of A289840. The behavior is similar to A290221 and A294021 in the sense that these three sequences from cellular automata have the property that after the initial terms the continuation is a periodic sequence. - Omar E. Pol, Oct 29 2017

Examples

			For n = 0..17 the sequence is 0, 1, 2, 8, 8, 8, 8, 32, 16, 16, 16, 48, 16, 16, 16, 64, 48, 32;
Terms 18 and beyond can be arranged in a rectangular array with eight columns as shown below:
32, 80, 16, 16, 16, 64, 48, 48;
32, 80, 16, 16, 16, 64, 48, 48;
32, 80, 16, 16, 16, 64, 48, 48;
32, 80, 16, 16, 16, 64, 48, 48;
32, 80, 16, 16, 16, 64, 48, 48;
...
On the other hand, in accordance with the periodic structure of the arms of the square cross, the terms 20 and beyond can be arranged in a rectangular array with eight columns as shown below:
16, 16, 16, 64, 48, 48, 32, 80;
16, 16, 16, 64, 48, 48, 32, 80;
16, 16, 16, 64, 48, 48, 32, 80;
16, 16, 16, 64, 48, 48, 32, 80;
16, 16, 16, 64, 48, 48, 32, 80;
...
		

Crossrefs

Programs

  • PARI
    concat(0, Vec(x*(1 + 2*x + 8*x^2 + 8*x^3 + 8*x^4 + 8*x^5 + 32*x^6 + 16*x^7 + 15*x^8 + 14*x^9 + 40*x^10 + 8*x^11 + 8*x^12 + 8*x^13 + 32*x^14 + 32*x^15 + 16*x^16 + 16*x^17 + 32*x^18 + 16*x^24) / ((1 - x)*(1 + x)*(1 + x^2)*(1 + x^4)) + O(x^100))) \\ Colin Barker, Nov 12 2017

Formula

G.f.: x*(1 + 2*x + 8*x^2 + 8*x^3 + 8*x^4 + 8*x^5 + 32*x^6 + 16*x^7 + 15*x^8 + 14*x^9 + 40*x^10 + 8*x^11 + 8*x^12 + 8*x^13 + 32*x^14 + 32*x^15 + 16*x^16 + 16*x^17 + 32*x^18 + 16*x^24) / ((1 - x)*(1 + x)*(1 + x^2)*(1 + x^4)). - Colin Barker, Nov 12 2017

A323651 Number of elements added at n-th stage to the toothpick structure of A323650.

Original entry on oeis.org

1, 2, 4, 8, 4, 8, 12, 24, 4, 8, 12, 24, 12, 24, 36, 72, 4, 8, 12, 24, 12, 24, 36, 72, 12, 24, 36, 72, 36, 72, 108, 216, 4, 8, 12, 24, 12, 24, 36, 72, 12, 24, 36, 72, 36, 72, 108, 216, 12, 24, 36, 72, 36, 72, 108, 216, 36, 72, 108, 216, 108, 216, 324, 648, 4, 8, 12, 24, 12, 24, 36, 72, 12, 24, 36, 72, 36, 72, 108, 216
Offset: 1

Views

Author

Omar E. Pol, Feb 04 2019

Keywords

Comments

The odd-indexed terms (a bisection) gives A147582, the first differences of A147562 (Ulam-Warburton cellular automaton).
The even-indexed terms (a bisection) gives A147582 multiplied by 2.
The word of this cellular automaton is "ab", so 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. See the example.
For further information about the word of cellular automata see A296612.

Examples

			Written as an irregular triangle the sequence begins:
1,2;
4,8;
4,8,12,24;
4,8,12,24,12,24,36,72;
4,8,12,24,12,24,36,72,12,24,36,72,36,72,108,216;
4,8,12,24,12,24,36,72,12,24,36,72,36,72,108,216,12,24,36,72,36,72,108,216,...
...
		

Crossrefs

First differences of A323650.
For other hybrid cellular automata, see A194701, A194271, A220501, A290221, A294021, A294981.

Formula

a(2n-1) = A147582(n).
a(2n) = 2*A147582(n).
a(n) = 4*A323641(n-2), n >= 3.

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

A294963 a(n) is the number of elements added at n-th stage in the structure of the finite cellular automaton of A294962.

Original entry on oeis.org

1, 4, 8, 8, 12, 20, 16, 8, 24, 16
Offset: 1

Views

Author

Omar E. Pol, Feb 10 2018

Keywords

Examples

			The finite sequence can be written as an array of four columns as shown below:
   1,  4,  8, 8;
  12, 20, 16, 8;
  24, 16.
The first column gives the number of toothpicks of length 2.
The second column gives the number of D-toothpicks.
The third column gives the number of toothpicks of length 1.
The fourth column gives the number of T-toothpicks.
The sequence contains exactly 10 terms.
		

Crossrefs

Cf. A294962.
Cf. A139251 (toothpicks), A160173 (T-toothpicks), A194701 (D-toothpicks), A220501.
For other hybrid cellular automata, see A289841, A290221, A294021, A294981.

A220525 Number of toothpicks or D-toothpicks added at n-th stage to the structure of A220524.

Original entry on oeis.org

0, 1, 2, 4, 4, 4, 8, 11, 8, 4, 8, 16, 24, 16, 20, 25, 16, 4, 8, 16, 24, 32, 36, 42, 44, 20, 24, 44, 64, 40, 44, 53, 32, 4, 8, 16, 24, 32, 36, 44, 52, 42, 48, 64, 100, 80, 84, 91, 84, 28, 24, 48, 72, 92, 104, 124, 132, 54, 56, 100, 144, 88, 92, 109, 64, 4
Offset: 0

Views

Author

Omar E. Pol, Mar 23 2013

Keywords

Comments

Essentially the first differences of A220524.
First differs from A194445 at a(13).

Examples

			When written as an irregular triangle begins:
0;
1;
2;
4,4;
4,8,11,8;
4,8,16,24,16,20,25,16;
4,8,16,24,32,36,42,44,20,24,44,64,40,44,53,32;
4,8,16,24,32,36,44,52,42,48,64,100,80,84,91,84,28,24,48,72,92,104,124,132,54,56,100,144,88,92,109,64;
		

Crossrefs

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

Formula

a(n) = A221528(n)/4.

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

Original entry on oeis.org

0, 1, 2, 4, 4, 4, 4, 7, 8, 4, 4, 8, 12, 14, 12, 15, 16, 4, 4, 8, 12, 16, 10, 24, 26
Offset: 0

Views

Author

Omar E. Pol, Jan 02 2013

Keywords

Comments

Essentially the first differences of A220526.

Examples

			Written as an irregular triangle begins:
0;
1;
2;
4,4;
4,4,7,8;
4,4,8,12,14,12,15,16;
4,4,8,12,16,10,24,26,...
		

Crossrefs

A221528 Number of toothpicks or D-toothpicks added at n-th stage to the structure of A220514.

Original entry on oeis.org

0, 4, 8, 16, 16, 16, 32, 44, 32, 16, 32, 64, 96, 64, 80, 100, 64, 16, 32, 64, 96, 128, 144, 168, 176, 80, 96, 176, 256, 160, 176, 212, 128, 16, 32, 64, 96, 128, 144, 176, 208, 168, 192, 256, 400, 320, 336, 364, 336, 112, 96, 192, 288, 368, 416, 496
Offset: 0

Views

Author

Omar E. Pol, Mar 23 2013

Keywords

Comments

Essentially the first differences of A220514.
First differs from A194435 at a(13).

Examples

			When written as an irregular triangle begins:
0;
4;
8;
16,16;
16,32,44,32;
16,32,64,96,64,80,100,64;
16,32,64,96,128,144,168,176,80,96,176,256,160,176,212,128;
16,32,64,96,128,144,176,208,168,192,256,400,320,336,364,336,112,96,192,288,368,416,496,528,216,224,400,576,352,368, 436,256;
		

Crossrefs

Row lengths give 1 together with A011782.

Formula

a(n) = 4*A220525(n).
Showing 1-10 of 20 results. Next