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

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

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

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

A194443 Number of toothpicks or D-toothpicks added at n-th stage to the structure of A194442.

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, 33, 48, 20, 8, 16, 28, 40, 44, 50, 60, 28, 16, 32, 60, 32, 32, 49, 64, 4, 4, 8
Offset: 0

Views

Author

Omar E. Pol, Aug 29 2011

Keywords

Comments

Essentially the first differences of A194442. It appears that the structure of the "narrow" triangle is much more regular about n=2^k, see formula section.

Examples

			If written as a triangle:
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,33,48,20,8,16,28...
.
It appears that rows converge to A194697.
		

Crossrefs

Formula

Conjectures for n = 2^k+j, if -6<=j<=6:
a(2^k-6) = 2^(k-2), if k >= 3.
a(2^k-5) = 2^(k-1), if k >= 3.
a(2^k-4) = 2^k-4, if k >= 2.
a(2^k-3) = 2^(k-1), if k >= 3.
a(2^k-2) = 2^(k-1), if k >= 2.
a(2^k-1) = 3*2^(k-2)+1, 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 >= 3.
a(2^k+4) = 12, if k >= 3.
a(2^k+5) = 16, if k >= 4.
a(2^k+6) = 16, if k >= 4.
End of conjectures.

A194701 Number of toothpicks or D-toothpicks added at n-th stage to the structure of A194700.

Original entry on oeis.org

0, 1, 4, 8, 16, 22, 24, 22, 40, 40, 32, 32, 56, 74, 96, 66
Offset: 0

Views

Author

Omar E. Pol, Sep 02 2011

Keywords

Comments

Essentially the first differences of A194700. First differs from A194271 at a(15). Conjecture: this sequence and A194271 have infinitely many numbers in common.

Crossrefs

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)

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

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.

A194276 Number of distinct polygonal shapes after n-th stage in the D-toothpick structure of A194270.

Original entry on oeis.org

0, 0, 0, 0, 1, 3, 4, 5, 6, 7, 9, 10, 10, 11, 13, 13, 14
Offset: 0

Views

Author

Omar E. Pol, Aug 23 2011

Keywords

Comments

The cellular automaton of A194270 contains a large number of distinct polygonal shapes. For simplicity we also call polygonal shapes "polygons".
In order to construct this sequence we use the following rules:
- Consider only the convex polygons and the concave polygons. Self-intersecting polygons are not counted. (Note that some polygons contain in their body a toothpick or D-toothpick with an exposed endpoint; that element is not a part of the perimeter of the polygon.)
- If two polygons have the same shape but they have different size then these polygons must be counted as distinct polygonal shapes.
- The reflected shapes of asymmetric polygons, both with the same area, must be counted as distinct polygonal shapes.
For more information see A194277 and A194278.
Question: Is there a maximal record in this sequence?

Examples

			Consider toothpicks of length 2 and D-toothpicks of length sqrt(2).
.
Stage       New type  Perimeter    Area   Term       a(n)
. 0            -          -          -    a(0) =       0
. 1            -          -          -    a(1) =       0
. 2            -          -          -    a(2) =       0
. 3            -          -          -    a(3) =       0
. 4         hexagon   4*sqrt(2)+4    6    a(4) =       1
. 5   5.1   hexagon   2*sqrt(2)+8    8
.     5.2   octagon   4*sqrt(2)+8   14    a(5) = 1+2 = 3
. 6         pentagon  2*sqrt(2)+6    5    a(6) = 3+1 = 4
. 7         enneagon  6*sqrt(2)+6   13    a(7) = 4+1 = 5
		

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