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

A289840 Complex cross sequence (see Comments lines for definition).

Original entry on oeis.org

0, 1, 3, 11, 19, 27, 35, 67, 83, 99, 115, 163, 179, 195, 211, 275, 323, 355, 387, 467, 483, 499, 515, 579, 627, 675, 707, 787, 803, 819, 835, 899, 947, 995, 1027, 1107, 1123, 1139, 1155, 1219, 1267, 1315, 1347, 1427, 1443, 1459, 1475, 1539, 1587, 1635, 1667, 1747, 1763, 1779, 1795, 1859, 1907, 1955, 1987, 2067
Offset: 0

Views

Author

Omar E. Pol, Jul 14 2017

Keywords

Comments

The sequence arises from a "hybrid" cellular automaton on the infinite square grid, which consist of two successive generations using toothpicks of length 2 (cf. A139250) followed by two successive generations using the rules of the D-toothpick sequence A220500.
In other words (and more precisely) we have that:
1) If n is congruent to 1 or 2 mod 4 (cf. A042963), for example: 1, 2, 5, 6, 9, 10, ..., the elements added to the structure at n-th stage must be toothpicks of length 2. These toothpicks are connected to the structure by their midpoints.
2) If n is a positive integer of the form 4*k-1 (cf. A004767), for example: 3, 7, 11, 15, ..., the elements added to the structure at n-th stage must be D-toothpicks of length sqrt(2) and eventually D-toothpicks of length sqrt(2)/2, in both cases the D-toothpicks are connected to the structure by their endpoints, in the same way as in the even-indexed stages of A220500.
3) If n is a positive multiple of 4 (cf. A008586) the elements added to the structure at n-th stage must be toothpicks of length 1 connected by their endpoints, in the same way as in the odd-indexed stages of A220500.
a(n) is the total number of elements in the structure after n generations.
A289841 (the first differences) gives the number of elements added at n-th stage.
Note that after 19 generations the structure is a 72-gon which essentially looks like a diamond (as a square that has been rotated 45 degrees).
The surprising fact is that from n = 20 up to 27 the structure is gradually transformed into a square cross.
The diamond mentioned above can be interpreted as the center of the cross. The diamond has an area equal to 384 and it contains 222 polygonal regions (or enclosures) of 11 distinct shapes. Missing two heptagonal shapes which are in the arms of the square cross only.
In total the complex cross contains 13 distinct shapes of polygonal regions. There are ten polygonal shapes that have an infinite number of copies. On the other hand, three of these polygonal shapes have a finite number of copies because they are in the center of the cross only. For example: there are only four copies of the concave 14-gon, which is also the largest polygon in the structure.
For n => 27 the shape of the square cross remains forever because its four arms grow indefinitely.
Every arm has a minimum width equal to 8, and a maximum width equal to 12.
Every arm also has a periodic structure which can be dissected in infinitely many clusters of area equal to 64. Every cluster is a 30-gon that contains 40 polygonal regions of nine distinct shapes.
If n is a number of the form 8*k-3 (cf. A017101) and greater than 19, for example: 27, 35, 43, 51, ..., then at n-th stage a new cluster is finished in every arm of the cross.
The behavior is similar to A290220 and A294020 in the sense that these three cellular automata have the property of self-limiting their growth only in some directions of the square grid. - Omar E. Pol, Oct 29 2017

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)^2*(1 + x)*(1 + x^2)*(1 + x^4))+ O(x^50))) \\ Colin Barker, Nov 12 2017

Formula

From Colin Barker, Nov 11 2017: (Start)
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)^2*(1 + x)*(1 + x^2)*(1 + x^4)).
a(n) = a(n-1) + a(n-8) - a(n-9) for n>19.
(End)

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

A294021 Number of elements added at n-th stage to the structure of the cellular automaton described in A294020.

Original entry on oeis.org

0, 1, 4, 4, 6, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22, 8, 4, 14, 24, 16, 22
Offset: 0

Views

Author

Omar E. Pol, Oct 21 2017

Keywords

Comments

Essentially the first differences of A294020.
The sequence starts with 0, 1, 4, 4, 6. For n >= 5 the sequence has a periodic tail. More precisely, it has period 6: repeat [8, 4, 14, 24, 16, 22]. This tail is in accordance with the expansion of the two arms of the structure.
The behavior is similar to A289841 and A290221 in the sense that these three sequences from cellular automata have the property that after the initial terms the continuation is a periodic sequence.

Examples

			The sequence begins:
0, 1, 4, 4, 6;
The periodic tail begins:
8, 4, 14, 24, 16, 22;
8, 4, 14, 24, 16, 22;
8, 4, 14, 24, 16, 22,
8, 4, 14, 24, 16, 22;
8, 4, 14, 24, 16, 22;
...
		

Crossrefs

Programs

  • PARI
    concat(0, Vec(x*(1 + 4*x + 4*x^2 + 6*x^3 + 8*x^4 + 4*x^5 + 13*x^6 + 20*x^7 + 12*x^8 + 16*x^9) / ((1 - x)*(1 + x)*(1 - x + x^2)*(1 + x + x^2)) + O(x^100))) \\ Colin Barker, Nov 11 2017

Formula

From Colin Barker, Nov 11 2017: (Start)
G.f.: x*(1 + 4*x + 4*x^2 + 6*x^3 + 8*x^4 + 4*x^5 + 13*x^6 + 20*x^7 + 12*x^8 + 16*x^9) / ((1 - x)*(1 + x)*(1 - x + x^2)*(1 + x + x^2)).
a(n) = a(n-6) for n > 10.
(End)

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.

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

Original entry on oeis.org

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

Views

Author

Omar E. Pol, Mar 20 2018

Keywords

Comments

The word of this cellular automaton is abcd. For more information see A296612.

Examples

			The finite sequence can be written as an array of four columns as shown below:
   1,  4,  8, 8;
  12, 16, 16, 8;
  24,  8.
The first column gives the number of toothpicks of length 2.
The second column gives the number of D-toothpicks of length sqrt(2).
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

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

A323647 Number of elements added at n-th stage to the toothpick structure of A323646.

Original entry on oeis.org

1, 2, 2, 4, 6, 6, 6, 12, 14, 12, 6, 12, 14, 16, 18, 32, 34, 20, 6, 12, 14, 16, 18, 32, 34, 24, 18, 32, 38, 44, 62, 92, 82, 36, 6, 12, 14, 16, 18, 32, 34, 24, 18, 32, 38, 44, 62, 92, 82, 40, 18, 32, 38, 44, 62, 92, 86, 60, 62, 96, 114, 144, 210, 260, 194, 68, 6, 12, 14, 16, 18, 32, 34, 24, 18, 32, 38, 44, 62, 92
Offset: 1

Views

Author

Omar E. Pol, Mar 07 2019

Keywords

Comments

The "word" of this cellular automaton is "ab", but note that this triangle has an unusual structure: an additional row of length 2. For more information about the word of cellular automata see A296612.
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,a,b;
...
Row lengths give 2 together with the terms of A011782 multiplied by 2, also 2 togheter with the column 2 of A296612.
Columns "a" contain numbers of toothpicks of length 2.
Columns "b" contain numbers of D-toothpicks of length 2*sqrt(2). See the example.

Examples

			Triangle begins:
1, 2;
2, 4;
6, 6;
6,12,14,12;
6,12,14,16,18,32,34,20;
6,12,14,16,18,32,34,24,18,32,38,44,62,92,82,36;
6,12,14,16,18,32,34,24,18,32,38,44,62,92,82,40,18,32,38,44,62,92,86,60,62,96, ...
		

Crossrefs

First differences of A323646.
Also, 1 together with A160731.
Column 1 gives A134201.
For other hybrid cellular automata, see A194271, A194701, A220501, A289841, A290221, A294021, A294963, A294981, A299771, A323651, A327331, A327333.

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.

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.
Showing 1-8 of 8 results.