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

A160722 Number of "ON" cells at n-th stage in a certain 2-dimensional cellular automaton based on Sierpinski triangles (see Comments for precise definition).

Original entry on oeis.org

0, 1, 5, 9, 19, 23, 33, 43, 65, 69, 79, 89, 111, 121, 143, 165, 211, 215, 225, 235, 257, 267, 289, 311, 357, 367, 389, 411, 457, 479, 525, 571, 665, 669, 679, 689, 711, 721, 743, 765, 811, 821, 843, 865, 911, 933, 979, 1025, 1119, 1129, 1151, 1173, 1219, 1241
Offset: 0

Views

Author

Omar E. Pol, May 25 2009, Jan 03 2010

Keywords

Comments

This cellular automata is formed by the concatenation of three Sierpinski triangles, starting from a central vertex. Adjacent polygons are fused. The ON cells are triangles, but we only count after fusion. The sequence gives the number of polygons at the n-th round.
If instead we start from four Sierpinski triangles we get A160720.

Examples

			We start at round 0 with no polygons, a(0) = 0.
At round 1 we turn ON the first triangle in each of the three Sierpinski triangles. After fusion we have a concave pentagon, so a(1) = 1.
At round 2 we turn ON two triangles in each the three Sierpinski triangles. After fusions we have the concave pentagon and four triangles. So a(2) = 1 + 4 = 5.
		

Crossrefs

A160723 gives the first differences.

Programs

  • Mathematica
    a[0] = 0; a[1] = 1; a[n_] := a[n] = 2 a[Floor[#]] + a[Ceiling[#]] &[n/2]; Array[3 a[#] - 2 # &, 54, 0] (* Michael De Vlieger, Nov 01 2022 *)

Formula

a(n) = 3*A006046(n) - 2*n. - Max Alekseyev, Jan 21 2010

Extensions

Extended by Max Alekseyev, Jan 21 2010

A160721 First differences of A160720.

Original entry on oeis.org

1, 4, 4, 12, 4, 12, 12, 28, 4, 12, 12, 28, 12, 28, 28, 60, 4, 12, 12, 28, 12, 28, 28, 60, 12, 28, 28, 60, 28, 60, 60, 124, 4, 12, 12, 28, 12, 28, 28, 60, 12, 28, 28, 60, 28, 60, 60, 124, 12, 28, 28, 60, 28, 60, 60, 124, 28, 60, 60, 124, 60, 124, 124, 252, 4, 12, 12, 28, 12, 28, 28
Offset: 1

Views

Author

Omar E. Pol, May 25 2009, May 29 2009

Keywords

Comments

This sequence is related to the Sierpinski triangle and to Gould's sequence A001316. - Omar E. Pol, Jul 23 2009
When written as a irregular triangle in which row lengths are A011782 it appears that right border gives A173033. - Omar E. Pol, Mar 20 2013

Examples

			From _Omar E. Pol_, Mar 20 2013 (Start):
Triangle begins:
1;
4;
4,12;
4,12,12,28;
4,12,12,28,12,28,28,60;
4,12,12,28,12,28,28,60,12,28,28,60,28,60,60,124;
4,12,12,28,12,28,28,60,12,28,28,60,28,60,60,124,12,28,28,60,28,60,60,124,28,60,60,124,60,124,124,252;
(End)
		

Crossrefs

Formula

a(1)=1. Observation: It appears that a(n) = 4*A038573(n-1), n>1. [From Omar E. Pol, Jul 23 2009]. This formula is correct! - N. J. A. Sloane, Jan 23 2016

Extensions

More terms from R. J. Mathar, Jul 14 2009
Showing 1-2 of 2 results.