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

A168113 First differences of A168112.

Original entry on oeis.org

1, 1, 2, 3, 3, 3, 6, 7, 6, 3, 6, 7, 8, 9, 16, 17, 10, 3, 6, 7, 8, 9, 16, 17, 12, 9, 16, 19, 22, 31, 46, 41, 18, 3, 6, 7, 8, 9, 16, 17, 12, 9, 16, 19, 22, 31, 46, 41, 20, 9, 16, 19, 22, 31, 46, 43, 30, 31, 48
Offset: 1

Views

Author

Omar E. Pol, Dec 07 2009

Keywords

Comments

a(n) is the number of toothpicks added at the n-th round in the toothpick structure of A168112.

Examples

			If written as a triangle, begins:
1;
1;
2;
3,3;
3,6,7,6;
3,6,7,8,9,16,17,10;
3,6,7,8,9,16,17,12,9,16,19,22,31,46,41,18;
Rows converge to A168114.
		

Crossrefs

Formula

Observation: It appears that a(2^i+2) = 3, for i>0.
a(n) = A160731(n)/2. [From Nathaniel Johnston, Mar 28 2011]

Extensions

Terms after a(34) from Nathaniel Johnston, Mar 28 2011

A323646 "Letter A" toothpick sequence (see Comments for precise definition).

Original entry on oeis.org

0, 1, 3, 5, 9, 15, 21, 27, 39, 53, 65, 71, 83, 97, 113, 131, 163, 197, 217, 223, 235, 249, 265, 283, 315, 349, 373, 391, 423, 461, 505, 567, 659, 741, 777, 783, 795, 809, 825, 843, 875, 909, 933, 951, 983, 1021, 1065, 1127, 1219, 1301, 1341, 1359, 1391, 1429, 1473, 1535, 1627, 1713, 1773, 1835, 1931
Offset: 0

Views

Author

Omar E. Pol, Mar 07 2019

Keywords

Comments

This arises from a hybrid cellular automaton formed of toothpicks of length 2 and D-toothpicks of length 2*sqrt(2).
For the construction of the sequence the rules are as follows:
On the infinite square grid at stage 0 there are no toothpicks, so a(0) = 0.
For the next n generations we have that:
At stage 1 we place a toothpick of length 2 in the horizontal direction, centered at [0,0], so a(1) = 1.
If n is even we add D-toothpicks. Each new D-toothpick must have its midpoint touching the endpoint of exactly one existing toothpick.
If the x-coordinate of the middle point of the D-toothpick is negative then the D-toothpick must be placed in the NE-SW direction.
If the x-coordinate of the middle point of the D-toothpick is positive then the D-toothpick must be placed in the NW-SE direction.
If n is odd we add toothpicks in horizontal direction. Each new toothpick must have its midpoint touching the endpoint of exactly one existing D-toothpick.
The sequence gives the number of toothpicks and D-toothpicks after n stages.
A323647 (the first differences) gives the number of elements added at the n-th stage.
Note that if n >> 1 at the end of every cycle the structure looks like a "volcano", or in other words, the structure looks like a trapeze which is almost an isosceles right triangle.
The "word" of this cellular automaton is "ab". For more information about the word of cellular automata see A296612.

Examples

			After two generations the structure looks like a letter "A" which is formed by a initial I-toothpick (or a toothpick of length 2), placed in horizontal direction, and two D-toothpicks each of length 2*sqrt(2) as shown below, so a(2) = 3.
Note that angle between both D-toothpicks is 90 degrees.
.
                      *
                    *   *
                  * * * * *
                *           *
              *               *
.
After three generations the structure contains three horizontal toothpicks and two D-toothpicks as shown below, so a(3) = 5.
.
                      *
                    *   *
                  * * * * *
                *           *
          * * * * *       * * * * *
.
		

Crossrefs

Formula

a(n) = 1 + A160730(n-1), n >= 1.
a(n) = 1 + 2*A168112(n-1), n >= 1.

A168114 If A168113 is regarded as a triangle then the rows converge to this sequence.

Original entry on oeis.org

3, 6, 7, 8, 9, 16, 17, 12, 9, 16, 19, 22, 31, 46, 41, 20, 9, 16, 19, 22, 31, 46, 43, 30, 31, 48, 57, 72, 105, 130, 97, 36, 9, 16, 19, 22, 31, 46, 43, 30, 31, 48, 57, 72, 105, 130, 99, 46, 31, 48, 57, 72, 105, 132, 113, 88, 107, 150, 183, 246, 337, 354, 225
Offset: 1

Views

Author

Omar E. Pol, Dec 07 2009

Keywords

Crossrefs

Extensions

Terms after a(15) from Nathaniel Johnston, Mar 28 2011
Showing 1-3 of 3 results.