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

A161209 a(n) = A161207(n+1)/2.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 6, 6, 9, 12, 15, 15, 14, 15, 10, 6, 9, 13, 17, 21, 25, 28, 27, 22, 24, 32, 41, 40, 34, 33, 18, 6, 9, 13, 17, 21, 25, 29, 29, 27, 33, 45, 57, 63, 61, 60, 51, 30, 24, 35, 47, 59, 71, 80, 81, 68, 65, 80, 102, 99, 80, 71, 34, 6
Offset: 1

Views

Author

Omar E. Pol, Jun 08 2009

Keywords

Crossrefs

Extensions

More terms from Jinyuan Wang, Mar 01 2020

A160121 First differences of A160120.

Original entry on oeis.org

1, 3, 3, 9, 3, 9, 9, 21, 9, 9, 9, 21, 15, 21, 27, 51, 27, 9, 9, 21, 15, 21, 27, 51, 33, 21, 27, 51, 51, 57, 69, 117, 81, 21, 9, 21, 15, 21, 27, 51, 33, 21, 27, 51, 51, 57, 69, 117, 87, 33, 27, 51, 51, 57, 75, 129, 117, 75, 69, 117, 135, 141, 171, 279, 231, 69, 9, 21, 15, 21, 27
Offset: 1

Views

Author

Omar E. Pol, May 02 2009

Keywords

Comments

Number of Y-toothpicks added at n-th stage to the Y-toothpick structure of A160120.
For a simpler version, see A151710. - Omar E. Pol, Dec 18 2012

Examples

			Contribution from _Omar E. Pol_, Jun 18 2009: (Start)
May be written as a triangle:
1,
3,
3,
9,
3,9,
9,21,9,9,
9,21,15,21,27,51,27,9,
9,21,15,21,27,51,33,21,27,51,51,57,69,117,81,21,
9,21,15,21,27,51,33,21,27,51,51,57,69,117,87,33,27,51,51,57,75,129,117,75,69,117,135,141,171,279,231,69;
Rows converge to A161326.
(End)
Contribution from _Omar E. Pol_, Dec 18 2012: (Start):
Also this sequence may be written as another triangle (according to the structure of triangle A151710):
1;
3;
3,  9;
3,  9,9,21;
9,  9,9,21,15,21,27,51;
27, 9,9,21,15,21,27,51,33,21,27,51,51,57,69,117;
81,21,9,21,15,21,27,51,33,21,27,51,51,57,69,117,87,33,27,51,51,57,75,129,117,75,69,117,135,141,171,279;
(End)
		

Crossrefs

Programs

  • Mathematica
    YTPFunc[lis_, step_] := With[{out = Extract[lis, {{1, 2}, {2, 1}, {-1, -1}}], in = lis[[2, 2]]}, Which[in == 1, 3, in == 0 && Count[out, 1] >= 2, 2, in == 0 && Count[out, 1] == 1, 1, True, in]]; A160121[n_] := Count[CellularAutomaton[{YTPFunc, {}, {1, 1}}, {{{1}}, 0}, {{{n}}}], 1, 2] (* JungHwan Min, Jan 28 2016 *)
    A160121[n_] := Count[CellularAutomaton[{13390417258775213635414055181254541831894674613399006361662885886563211940509571858857491972104491013971547937418035084866785430974106432144737472376143620, 4, {{-1, 0}, {0, -1}, {0, 0}, {1, 1}}}, {{{1}}, 0}, {{{n}}}], 1, 2] (* JungHwan Min, Jan 28 2016 *)

Extensions

More terms from David Applegate, Jun 14 2009

A161206 V-toothpick (or honeycomb) sequence (see Comments lines for definition).

Original entry on oeis.org

0, 1, 3, 7, 13, 21, 31, 43, 57, 69, 81, 99, 123, 153, 183, 211, 241, 261, 273, 291, 317, 351, 393, 443, 499, 553, 597, 645, 709, 791, 871, 939, 1005, 1041, 1053, 1071, 1097, 1131, 1173, 1223, 1281, 1339, 1393, 1459, 1549, 1663, 1789, 1911, 2031, 2133, 2193
Offset: 0

Views

Author

Omar E. Pol, Jun 08 2009

Keywords

Comments

A V-toothpick is constructed from two toothpicks of length 1 with a 120-degree angle between them, forming a V.
On the infinite hexagonal grid, we start at round 0 with no V-toothpicks.
At round 1 we place a V-toothpick anywhere in the plane.
At round 2 we place two other V-toothpicks. Note that, after round 2, in the structure there are three V-toothpicks, with seven 120-degree angles and one 240-degree angle.
At round 3 we place four other V-toothpicks.
And so on...
The structure looks like an unfinished honeycomb.
The sequence gives the number of V-toothpicks after n rounds. A161207 (the first differences) gives the number added at the n-th round.
See the entry A139250 for more information about the growth of toothpicks.
Note that, on the infinite hexagonal grid, a V-toothpick can be represented as a polyedge with two components. In this case, at n-th round, the structure is a polyedge with 2*a(n) components (or 2*a(n) toothpicks).
In the structure we can see distinct closed polygonal regions with side length equal to 1, for example: regular hexagons, concave decagons, concave dodecagons.

Crossrefs

Extensions

Terms beyond a(19) from R. J. Mathar, Jan 21 2010

A160173 Number of T-toothpicks added at n-th stage to the T-toothpick structure of A160172.

Original entry on oeis.org

0, 1, 3, 5, 9, 9, 9, 13, 25, 21, 9, 13, 25, 25, 25, 37, 73, 57, 9, 13, 25, 25, 25, 37, 73, 61, 25, 37, 73, 73, 73, 109, 217, 165, 9, 13, 25, 25, 25, 37, 73, 61, 25, 37, 73, 73, 73, 109, 217, 169, 25, 37, 73, 73, 73, 109, 217, 181, 73, 109, 217, 217, 217, 325, 649, 489, 9, 13, 25
Offset: 0

Views

Author

Omar E. Pol, Jun 01 2009

Keywords

Comments

Essentially the first differences of A160172.
For further information see the Applegate-Pol-Sloane paper, chapter 11: T-shaped toothpicks. See also the figure 16 in the mentioned paper. - Omar E. Pol, Nov 18 2011
The numbers n in increasing order such that the triple [n, n, n] can be found here, give A199111. [Observed by Omar E. Pol, Nov 18 2011. Confirmed by Alois P. Heinz, Nov 21 2011]

Examples

			From _Omar E. Pol_, Feb 09 2010: (Start)
If written as a triangle:
0;
1;
3;
5;
9,9;
9,13,25,21;
9,13,25,25,25,37,73,57;
9,13,25,25,25,37,73,61,25,37,73,73,73,109,217,165;
9,13,25,25,25,37,73,61,25,37,73,73,73,109,217,169,25,37,73,73,73,109,217,181,73,109,217,217,217,325,649,489;
9,13,25,25,25,37,73,61,25,37,73,73,73,109,217,169,25,37,73,73,73,109...
(End)
		

References

  • David Applegate, Omar E. Pol and N. J. A. Sloane, The Toothpick Sequence and Other Sequences from Cellular Automata, Congressus Numerantium, Vol. 206 (2010), 157-191

Crossrefs

Programs

  • Mathematica
    wt[n_] := DigitCount[n, 2, 1];
    a[0] = 0; a[1] = 1; a[2] = 3; a[n_] := 2/3 (3^wt[n-1] + 3^wt[n-2]) + 1;
    Table[a[n], {n, 0, 68}] (* Jean-François Alcover, Aug 18 2018, after N. J. A. Sloane *)

Formula

a(n) = (2/3)*(3^wt(n-1) + 3^wt(n-2))+1 (where wt is A000120), for n >= 3. - N. J. A. Sloane, Jan 01 2010

Extensions

More terms from N. J. A. Sloane, Jan 01 2010

A172311 First differences of A172310.

Original entry on oeis.org

0, 1, 2, 4, 6, 8, 12, 14, 14, 18, 18, 20, 24, 24, 38, 34, 42, 34, 26, 28, 32, 38, 52, 54, 64, 58, 68, 60, 60, 50, 66, 70, 70, 74, 50, 52, 60, 54, 64, 66, 84, 88, 116, 106, 132, 100, 136, 126, 140, 106, 118, 100, 122, 106, 138, 114, 138, 132, 152, 156, 176, 158, 190, 166, 158, 154, 98, 88, 132, 82, 124, 94, 112
Offset: 0

Views

Author

Omar E. Pol, Jan 31 2010

Keywords

Comments

Number of L-toothpicks added to the L-toothpick structure of A172310 at the n-th stage.

Crossrefs

Extensions

More terms from Nathaniel Johnston, Nov 15 2010
Corrected by David Applegate and Omar E. Pol; more terms beyond a(22) from David Applegate, Mar 26 2016

A182633 Number of toothpicks added at n-th stage in the toothpick structure of A182632.

Original entry on oeis.org

0, 3, 6, 12, 12, 12, 24, 36, 24, 12, 24, 48, 60, 48, 60, 84, 48, 12, 24, 48, 60, 60, 84, 132, 132, 72, 60, 120, 168, 144, 156, 192, 96, 12, 24, 48, 60, 60, 84, 132, 132, 84, 84, 156, 228, 228, 228
Offset: 0

Views

Author

Omar E. Pol, Dec 07 2010

Keywords

Comments

First differences of A182632.
a(n) is also the number of components added at n-th stage in the toothpick structure formed by V-toothpicks with an initial Y-toothpick, since a V-toothpick has two components and a Y-toothpick has three components (For more information see A161206, A160120, A161644).

Examples

			From _Omar E. Pol_, Feb 08 2013 (Start):
When written as a triangle:
0;
3;
6;
12,12;
12,24,36,24;
12,24,48,60,48,60, 84, 48;
12,24,48,60,60,84,132,132,72,60,120,168,144,156,192,96;
12,24,48,60,60,84,132,132,84,84,156,228,228,228,...
...
It appears that positive terms of the right border are A007283.
(End)
		

Crossrefs

Formula

It appears that a(n) = 2*A161645(n) but with a(1)=3.
a(n) = 3*A182635(n). - Omar E. Pol, Feb 09 2013

A161645 First differences of A161644: number of new ON cells at generation n of the triangular cellular automaton described in A161644.

Original entry on oeis.org

0, 1, 3, 6, 6, 6, 12, 18, 12, 6, 12, 24, 30, 24, 30, 42, 24, 6, 12, 24, 30, 30, 42, 66, 66, 36, 30, 60, 84, 72, 78, 96, 48, 6, 12, 24, 30, 30, 42, 66, 66, 42, 42, 78, 114, 114, 114, 150, 138, 60, 30, 60, 84, 90, 114, 174, 198, 132, 90, 144, 210, 192, 192, 210, 96, 6, 12, 24
Offset: 0

Views

Author

David Applegate and N. J. A. Sloane, Jun 15 2009

Keywords

Comments

See the comments in A161644.
It appears that a(n) is also the number of V-toothpicks or Y-toothpicks added at the n-th stage in a toothpick structure on hexagonal net, starting with a single Y-toothpick in stage 1 and adding only V-toothpicks in stages >=2 (see A161206, A160120, A182633). - Omar E. Pol, Dec 07 2010

Examples

			From _Omar E. Pol_, Apr 08 2015: (Start)
The positive terms written as an irregular triangle in which the row lengths are the terms of A011782:
1;
3;
6,6;
6,12,18,12;
6,12,24,30,24,30,42,24;
6,12,24,30,30,42,66,66,36,30,60,84,72,78,96,48;
6,12,24,30,30,42,66,66,42,42,78,114,114,114,150,138,60,30,60,84,90,114,174,198,132,90,144,210,192,192,210,96;
...
It appears that the right border gives A003945.
(End)
		

References

  • R. Reed, The Lemming Simulation Problem, Mathematics in School, 3 (#6, Nov. 1974), front cover and pp. 5-6. [Describes the dual structure where new triangles are joined at vertices rather than edges.]

Crossrefs

A182841 Number of toothpicks added at n-th stage in the toothpick structure of A182840.

Original entry on oeis.org

0, 1, 4, 8, 14, 16, 14, 24, 38, 32, 14, 24, 46, 64, 54, 56, 86, 64, 14, 24, 46, 64, 62, 80, 126, 144, 86, 56, 110, 168, 158, 144, 198, 128, 14, 24, 46, 64, 62, 80, 126, 144, 94, 80, 142, 224, 238, 224, 286, 304, 150, 56, 110, 168, 182, 216, 326, 408, 302, 176, 262, 408, 414, 360, 438, 256
Offset: 0

Views

Author

Omar E. Pol, Dec 09 2010

Keywords

Comments

First differences of A182840.

Examples

			From _Omar E. Pol_, Nov 01 2014: (Start)
When written as an irregular triangle:
0;
1;
4;
8;
14, 16;
14, 24, 38, 32;
14, 24, 46, 64, 54, 56, 86, 64;
14, 24, 46, 64, 62, 80, 126, 144, 86, 56, 110, 168, 158, 144, 198, 128;
14, 24, 46, 64, 62, 80, 126, 144, 94, 80, 142, 224, 238, 224, 286, 304, 150, 56, 110, 168, 182, 216, 326, 408, 302, 176, 262, 408, 414, 360, 438, 256;
...
(End)
		

Crossrefs

Formula

a(2^k + 1) = 2^(k+2), at least for 0 <= k <= 9. - Omar E. Pol, Nov 01 2014

Extensions

More terms from Olaf Voß, Dec 24 2010
Wiki link added by Olaf Voß, Jan 14 2011

A182635 Number of toothpicks added at n-th stage to the toothpick structure of A182634.

Original entry on oeis.org

0, 1, 2, 4, 4, 4, 8, 12, 8, 4, 8, 16, 20, 16, 20, 28, 16, 4, 8, 16, 20, 20, 28, 44, 44, 24, 20, 40, 56, 48, 52, 64, 32, 4, 8, 16, 20, 20, 28, 44, 44, 28, 28, 52, 76, 76, 76
Offset: 0

Views

Author

Omar E. Pol, Dec 08 2010

Keywords

Comments

First differences of A182634.
First differs from A139251 at a(11).

Examples

			Contribution from _Omar E. Pol_, Dec 06 2012 (Start):
When written as an irregular triangle begins:
0;
1;
2;
4,4;
4,8,12,8;
4,8,16,20,16,20,28,16;
4,8,16,20,20,28,44,44,24,20,40,56,48,52,64,32;
4,8,16,20,20,28,44,44,28,28,52,76,76,76,...
(End)
		

Crossrefs

Formula

a(n) = A182633(n)/3.

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.
Showing 1-10 of 21 results. Next