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

A290220 Narrow cross sequence (see Comments lines for definition).

Original entry on oeis.org

0, 2, 6, 10, 18, 26, 34, 42, 58, 70, 78, 94, 106, 114, 130, 142, 150, 166, 178, 186, 202, 214, 222, 238, 250, 258, 274, 286, 294, 310, 322, 330, 346, 358, 366, 382, 394, 402, 418, 430, 438, 454, 466, 474, 490, 502, 510, 526, 538, 546, 562, 574, 582, 598, 610, 618, 634, 646, 654, 670, 682, 690, 706, 718, 726, 742, 754
Offset: 0

Views

Author

Omar E. Pol, Jul 24 2017

Keywords

Comments

The sequence arises from a "hybrid" cellular automaton, which consist essentially in two successive generations using the rules of the D-toothpick sequence A194270 followed by one generation using toothpicks of length 2.
On the infinite square grid we start at stage 0 with no toothpicks, so a(0) = 0.
For the next stages we have the following rules:
1) At stage 1 we place two D-toothpicks connected by their endpoints on the same diagonal.
2) If n is a number of the form 3*k + 2 (cf. A016789), for example: 2, 5, 8, 11, 14, ..., 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 even-indexed stages of A194270.
3) If n is a positive multiple of 3 (cf. A008585) 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.
4) If n is a number of the form 3*k + 1 (cf. A016777) and > 1, for example: 4, 7, 10, 13, ..., the elements added to the structure at n-th stage must be D-toothpicks of length sqrt(2) connected to the structure by their endpoints, in the same way as in the odd-indexed stages of A194270.
a(n) is the total number of elements in the structure after n generations.
A290221 (the first differences) gives the number of elements added at n-th stage.
The surprising fact is that from n = 7 up to 9 the structure is gradually transformed into a square cross.
For n => 9 the shape of the square cross remains forever because its four arms grow indefinitely in the directions North, East, West and South.
Every arm has a width equal to 4.
Every arm also has a periodic structure which can be dissected in infinitely many clusters.
In total, the narrow cross contains five distinct shapes of polygonal regions. There are three polygonal shapes that have an infinite number of copies. On the other hand, two polygonal shapes have a finite number of copies because they are in the center of the cross only. they are the heptagon and the hexagon of area 5.
The structure looks like a square cross but it's simpler than the structure of the complex cross described in A289840.
The behavior is similar to A289840 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

  • Mathematica
    LinearRecurrence[{1, 0, 1, -1}, {0, 2, 6, 10, 18, 26, 34, 42, 58, 70}, 100] (* Paolo Xausa, Aug 27 2024 *)
  • 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)^2*(1 + x + x^2)) + O(x^60))) \\ Colin Barker, Nov 12 2017

Formula

From Colin Barker, Nov 11 2017: (Start)
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)^2*(1 + x + x^2)).
a(n) = a(n-1) + a(n-3) - a(n-4) for n>9. [Corrected by Paolo Xausa, Aug 27 2024]
(End)

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)

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.

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