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

A323650 Flower garden sequence (see Comments for precise definition).

Original entry on oeis.org

0, 1, 3, 7, 15, 19, 27, 39, 63, 67, 75, 87, 111, 123, 147, 183, 255, 259, 267, 279, 303, 315, 339, 375, 447, 459, 483, 519, 591, 627, 699, 807, 1023, 1027, 1035, 1047, 1071, 1083, 1107, 1143, 1215, 1227, 1251, 1287, 1359, 1395, 1467, 1575, 1791, 1803, 1827, 1863, 1935, 1971, 2043, 2151, 2367, 2403, 2475
Offset: 0

Views

Author

Omar E. Pol, Jan 21 2019

Keywords

Comments

This arises from a hybrid cellular automaton on a triangular grid formed of I-toothpicks and V-toothpicks. Also, it appears that this is a missing link between A147562 (Ulam-Warburton) and three toothpick sequences: A139250 (normal toothpicks), A161206 (V-toothpicks) and A160120 (Y-toothpicks). The behavior resembles the toothpick sequence A139250, on the other hand, the formulas are directly related to A147562. Plot 2 shows that the graph is located between the graph of A139250 and the graph of A147562.
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 such that the angle of each single toothpick with respect to the connected I-toothpick is 120 degrees.
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.
A323651 (the first differences) gives the number of elements added at the n-th stage.
Note that 2*a(n) gives the total number of single toothpicks of length 1 after the n-th stage.
The structure contains only three kinds of polygonal regions as follows:
- Rhombuses that contain two triangular cells.
- Regular hexagons that contain six triangular cells.
- Oblong hexagons that contain 10 triangular cells.
The structure looks like a "garden of flowers with six petals" (between other substructures). In particular, after 2^(n+1) stages with n >= 0, the structure looks like a flower garden in a rectangular box which contains A002450(n) flowers with six petals.
Note that this hybrid cellular automaton is also a superstructure of the Ulam-Warburton cellular automaton (at least in four ways). The explanation is as follows:
1) A147562(n) equals the total number of I-toothpicks in the structure after 2*n - 1 stage, n >= 1.
2) A147562(n) equals the total number of pairs of Y-toothpicks connected by their endpoints in the structure after 2*n stage (see the example).
3) A147562(n) equals the total number of "flowers with six petals" (or six-pointed stars formed of six rhombuses) in the structure after 4*n stage. Note that the location of the "flowers with six petals" in the structure is essentially the same as the location of the "ON" cells in the version "one-step bishop" of A147562.
4) For more connections to A147562 see the Formula section.
The "word" of this cellular automaton is "ab". For more information about the word of cellular automata see A296612.
The total number of “flowers with six petals” after n-th stage equals the total number of “hidden crosses” after n-th stage in the toothpick structure of A139250, including the central cross (beginning to count the crosses when their “nuclei” are totally formed with 4 quadrilaterals). - Omar E. Pol, Mar 06 2019

Examples

			Illustration of initial terms:
.
                        |   |
                \ /     |\ /|
         |       |        |
         |       |        |
                / \     |/ \|
                        |   |
n        1       2        3
a(n)     1       3        7
.
Note that for n = 2 the structure is also the same as a pair of Y-toothpicks connected by their endpoints (see A160120).
		

Crossrefs

Cf. A002450, A103454, A139250 (normal toothpicks), A147562 (Ulam-Warburton), A147582, A160120 (Y-toothpicks), A161206 (V-toothpicks), A296612, A323641, A323642, A323649 (corner sequence), A323651 (first differences).
For other hybrid cellular automata, see A194270, A194700, A220500, A289840, A290220, A294020, A294962, A294980, A299770.

Programs

Formula

a(n) = 3*A147562(n/2) if n is even.
a(n) = 3*A147562((n-1)/2) + A147582(n) if n is odd.
a(n) = 3*A147562((n-1)/2) + A147562(n) - A147562(n-1) if n is odd.
a(2^n) = A103454(n), n >= 0.

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

A172304 L-toothpick sequence starting with two opposite L-toothpicks.

Original entry on oeis.org

0, 2, 6, 14, 22, 30, 46, 62, 70, 86, 110, 134, 166, 190, 238, 278, 302, 318, 342, 382, 430, 470, 526, 582, 646, 710, 782, 838, 902, 950, 1030, 1118, 1150, 1182, 1246, 1318, 1382, 1422, 1486, 1566, 1662, 1766, 1910, 2006, 2134, 2254, 2414, 2526, 2622
Offset: 0

Views

Author

Omar E. Pol, Feb 06 2010

Keywords

Comments

The same as A172310 but starting with two L-toothpicks.
We start at stage 0 with no L-toothpicks.
At stage 1 we place two large L-toothpicks in the horizontal direction, as a "X", anywhere in the plane.
At stage 2 we place four small L-toothpicks.
At stage 3 we add eight more large L-toothpicks.
At stage 4 we add eight more small L-toothpicks.
And so on ...
The L-toothpick cellular automaton has an unusual property: the growths in its four wide wedges [North, East, South and West] have a recurrent behavior related to powers of 2, as we can find in other cellular automata (i.e., A212008). On the other hand, in its four narrow wedges [NE, SE, SW, NW] the behavior seems to be chaotic, without any recurrence, similar to the behavior of the snowflake cellular automaton of A161330. The remarkable fact is that with the same rules, different behaviors are produced. (See Applegate's movie version in the Links section.) - Omar E. Pol, Nov 06 2018

Crossrefs

Extensions

Terms beyond a(14) from Yan Sheng Ang, Dec 10 2012

A220524 D-toothpick sequence of the third kind in the first quadrant.

Original entry on oeis.org

0, 1, 3, 7, 11, 15, 23, 34, 42, 46, 54, 70, 94, 110, 130, 155, 171, 175, 183, 199, 223, 255, 291, 333, 377, 397, 421, 465, 529, 569, 613, 666, 698, 702, 710, 726, 750, 782, 818, 862, 914, 956, 1004, 1068, 1168, 1248, 1332, 1423, 1507, 1535, 1559, 1607
Offset: 0

Views

Author

Omar E. Pol, Dec 15 2012

Keywords

Comments

This is a toothpick sequence of forking paths to 135 degrees in the first quadrant. The sequence gives the number of toothpicks and D-toothpicks in the structure after n-th stage. A220525 (the first differences) give the number of toothpicks or D-toothpicks added at n-th stage. It appears that the structure has a fractal (or fractal-like) behavior. For more information see A194700.
First differs from A194444 at a(13).

Crossrefs

Formula

a(n) = A220514(n)/4. - Omar E. Pol, Mar 23 2013

A294962 a(n) is the total number of elements after n-th stage of a hybrid (and finite) cellular automaton formed by toothpicks, D-toothpicks and T-toothpicks on the infinite square grid (see Comments lines for precise definition).

Original entry on oeis.org

0, 1, 5, 13, 21, 33, 53, 69, 77, 101, 117
Offset: 0

Views

Author

Omar E. Pol, Nov 12 2017

Keywords

Comments

It seems that this cellular automaton resembles the synthesis of a molecule, a protein, etc.
After 10th stage there are no exposed endpoints in the structure, so the structure is finished.
A294963(n) gives the number of elements added to the structure at n-th stage.

Crossrefs

Cf. A139250 (toothpicks), A160172 (T-toothpicks), A194700 (D-toothpicks), A220500, A294963.
For other hybrid cellular automata, see A289840, A290220, A294020, A294980.

A220514 D-toothpick sequence of the third kind starting with a X-shaped cross formed by 4 D-toothpicks.

Original entry on oeis.org

0, 4, 12, 28, 44, 60, 92, 136, 168, 184, 216, 280, 376, 440, 520, 620, 684, 700, 732, 796, 892, 1020, 1164, 1332, 1508, 1588, 1684, 1860, 2116, 2276, 2452, 2664, 2792, 2808, 2840, 2904, 3000, 3128, 3272, 3448, 3656, 3824, 4016, 4272, 4676, 4992
Offset: 0

Views

Author

Omar E. Pol, Dec 15 2012

Keywords

Comments

This is a toothpick sequence of forking paths to 135 degrees. The sequence gives the number of toothpicks and D-toothpicks in the structure after n-th stage. A221528 (the first differences) give the number of toothpicks or D-toothpicks added at n-th stage. It appears that the structure has a fractal (or fractal-like) behavior. For more information see A194700.
First differs from A194434 at a(13).

Crossrefs

Formula

a(n) = 4*A220524(n).

A233780 Number of toothpicks and D-toothpicks after n-th stage in a D-toothpick "wide" triangle (see Comments lines for definition).

Original entry on oeis.org

0, 1, 3, 5, 9, 11, 15, 21, 29, 31, 35, 41, 51, 61, 69, 83, 99, 101, 105, 111, 121, 131, 141, 159, 183, 201, 209, 223, 245, 271, 287, 317, 349, 351, 355, 361, 371, 381, 391, 409, 433, 451, 461, 479, 509, 547, 573, 615, 667, 701, 709, 723, 745, 771
Offset: 0

Views

Author

Omar E. Pol, Dec 15 2013

Keywords

Comments

The D-toothpicks placed in northwest or northeast direction both are prohibited, except in the substructures in which the symmetry could be broken, so a(44) = 509, not 507. For another version with broken symmetry in some substructures see A233764. See also A231348, a simpler cellular automaton based in triangles which has essentially a similar structure.
A233781 (the first differences) gives the number of toothpicks or D-toothpicks added at n-th stage.
First differs from A169780 at a(24).
First differs from A233970 at a(25).
First differs from A233764 at a(44).

Crossrefs

A299770 a(n) is the total number of elements after n-th stage of a hybrid (and finite) cellular automaton on the infinite square grid, formed by toothpicks of length 2, D-toothpicks, toothpicks of length 1, and T-toothpicks.

Original entry on oeis.org

1, 5, 13, 21, 33, 49, 65, 73, 97, 105
Offset: 1

Views

Author

Omar E. Pol, Mar 20 2018

Keywords

Comments

The structure is essentially the same as the finite structure described in A294962 but here there are no D-toothpicks of length sqrt(2)/2. All D-toothpicks in the structure have length sqrt(2).
The same as A294962, it seems that this cellular automaton resembles the synthesis of a molecule, a protein, etc.
After 10th stage there are no exposed endpoints (or free ends), so the structure is finished.
A299771(n) gives the number of elements added to the structure at n-th stage.
The "word" of this cellular automaton is "abcd". For further information about the word of cellular automata see A296612. - Omar E. Pol, Mar 05 2019

Crossrefs

Very similar to A294962.
Cf. A139250 (toothpicks), A160172 (T-toothpicks), A194700 (D-toothpicks), A220500.
For other hybrid cellular automata, see A194270, A220500, A289840, A290220, A294020, A294980.

A212008 D-toothpick sequence of the second kind starting with a single toothpick.

Original entry on oeis.org

0, 1, 5, 13, 29, 51, 71, 95, 131, 171, 203, 247, 303, 397, 457, 513, 589, 661, 693, 741, 813, 925, 1057, 1197, 1333, 1501, 1613, 1745, 1885, 2123, 2271, 2391, 2547, 2683, 2715, 2763, 2835, 2947, 3079
Offset: 0

Views

Author

Omar E. Pol, Dec 15 2012

Keywords

Comments

This cellular automaton 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, place a single toothpick on the paper, aligned with the y-axis.
The rule for adding new elements is as follows. If it is possible, 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, otherwise each exposed endpoint of the elements of the old generation must be touched by an endpoint of an element of the new generation such that the angle between the old element and the 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 (A212009) 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 also contains infinitely many copies of the oblique wedges. Each oblique wedge 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 appears to be a puzzle which contains at least 50 distinct internal regions (or polygonal pieces), and possibly more. Some of them appear for first time after 200 stages. The largest known polygon is a concave 24-gon.
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. The distribution of these subsets have a surprising connection with the Sierpinski triangle A047999, but here the pattern is more complex.
For another version see A220500.

Crossrefs

A220526 Number of toothpicks and D-toothpicks after n-th stage in the structure of the D-toothpick "medium" triangle of the third kind.

Original entry on oeis.org

0, 1, 3, 7, 11, 15, 19, 26, 34, 38, 42, 50, 62, 76, 88, 103, 119, 123, 127, 135, 147, 163, 183, 207, 233
Offset: 0

Views

Author

Omar E. Pol, Jan 02 2013

Keywords

Comments

The structure is essentially one of the horizontal wedges of A220500. First differs from A194442 (and from A220522) at a(13). A220527 (the first differences) give the number of toothpicks or D-toothpicks added at n-th stage.

Crossrefs

Previous Showing 11-20 of 29 results. Next