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.

A255462 Number of ON cells after n generations of the odd-rule cellular automaton defined by OddRule 365 when started with a single ON cell.

Original entry on oeis.org

1, 6, 6, 30, 6, 36, 30, 138, 6, 36, 36, 180, 30, 180, 138, 606, 6, 36, 36, 180, 36, 216, 180, 828, 30, 180, 180, 900, 138, 828, 606, 2586, 6, 36, 36, 180, 36, 216, 180, 828, 36, 216, 216, 1080, 180, 1080, 828, 3636, 30, 180, 180, 900, 180, 1080, 900, 4140, 138, 828, 828, 4140
Offset: 0

Views

Author

Keywords

Examples

			From _Omar E. Pol_, Sep 08 2016: (Start)
Written as an irregular triangle in which the row lengths are the terms of A011782 the sequence begins:
1;
6;
6, 30;
6, 36, 30, 138;
6, 36, 36, 180, 30, 180, 138, 606;
6, 36, 36, 180, 36, 216, 180, 828, 30, 180, 180, 900, 138, 828, 606, 2586;
...
Right border gives A255463. (End)
		

Crossrefs

Run length transform of A255463.

Programs

  • Mathematica
    (* See Mathematica notebook in link *)
    (* or *)
    A255462[n_] := Total[CellularAutomaton[{42, {2, {{0, 1, 1}, {1, 1, 0}, {1, 0, 1}}}, {1, 1}}, {{{1}}, 0}, {{{n}}}], 2]; Array[A255462, 60, 0] (* JungHwan Min, Sep 06 2016 *)
    A255462L[n_] := Total[#, 2] & /@ CellularAutomaton[{42, {2, {{0, 1, 1}, {1, 1, 0}, {1, 0, 1}}}, {1, 1}}, {{{1}}, 0}, n]; A255462L[59] (* JungHwan Min, Sep 06 2016 *)

Formula

It follows from Theorem 3 of the Fredkin.pdf (2015) paper that this satisfies the recurrence a(2t)=a(t), a(4t+1)=6*a(t), and a(4t+3)=7*a(2t+1)-12*a(t) for t>0, with a(0)=1. - N. J. A. Sloane, Mar 10 2015