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.

A170905 Consider the hexagonal cellular automaton defined in A151723, A151724; a(n) = number of cells that go from OFF to ON at stage n, if we only look at a 60-degree wedge (including the two bounding edges).

Original entry on oeis.org

0, 1, 2, 2, 4, 2, 4, 6, 8, 2, 4, 6, 10, 10, 8, 14, 16, 2, 4, 6, 10, 10, 10, 18, 26, 18, 8, 14, 24, 28, 20, 32, 32, 2, 4, 6, 10, 10, 10, 18, 26, 18, 10, 18, 30, 38, 34, 42, 58, 34, 8, 14, 24, 28, 28, 44, 68, 60, 28, 32, 56, 70, 50, 70, 64, 2, 4, 6, 10, 10, 10, 18, 26, 18, 10, 18, 30, 38, 34, 42
Offset: 0

Views

Author

N. J. A. Sloane, Jan 22 2010

Keywords

Examples

			From _Omar E. Pol_, Feb 12 2013: (Start)
When written as a triangle starting from 1, the right border gives A000079 and row lengths give A011782.
1;
2;
2,4;
2,4,6,8;
2,4,6,10,10,8,14,16;
2,4,6,10,10,10,18,26,18,8,14,24,28,20,32,32;
2,4,6,10,10,10,18,26,18,10,18,30,38,34,42,58,34,8,14,24,28,28,44,68,60,28,32,56,70,50,70,64;
2,4,6,10,10,10,18,26,18,10,18,30,38,34,42,...
... (End)
		

Crossrefs

Cf. A151723, A151724, A170898, A169778, A169780 (partial sums).

Formula

a(n) = A170898(n-2) + 1 for n >= 2.
a(n) = 2*A169778(n) for n != 1.