A253087 a(n) = A253086(2^n-1).
1, 4, 12, 48, 144, 440, 1816, 6816, 25816, 101856, 397944, 1573464, 6274560, 25071152, 100180872, 400625360
Offset: 0
Crossrefs
Cf. A253086.
Extensions
a(10)-a(15) from Lars Blomberg, Jun 09 2016
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.
Total@*Total /@ CellularAutomaton[{780, {2, {{2, 2, 2}, {2, 1, 2}, {2, 2, 2}}}, {1, 1}}, {{{1}}, 0}, 66] ArrayPlot /@ CellularAutomaton[{780, {2, {{2, 2, 2}, {2, 1, 2}, {2, 2, 2}}}, {1, 1}}, {{{1}}, 0}, 28]
CAStep[rule_,a_]:=Map[rule[[10-#]]&,ListConvolve[{{0,2,0},{2,1,2},{0,2,0}},a,2],{2}]; code=260; stages=128; rule=IntegerDigits[code,2,10]; g=2*stages+1; (* Maximum size of grid *) a=PadLeft[{{1}},{g,g},0,Floor[{g,g}/2]]; (* Initial ON cell on grid *) ca=a; ca=Table[ca=CAStep[rule,ca],{n,1,stages+1}]; PrependTo[ca,a]; (* Trim full grid to reflect growth by one cell at each stage *) k=(Length[ca[[1]]]+1)/2; ca=Table[Table[Part[ca[[n]][[j]],Range[k+1-n,k-1+n]],{j,k+1-n,k-1+n}],{n,1,k}]; on=Map[Function[Apply[Plus,Flatten[#1]]],ca] (* Count ON cells at each stage *) Table[on[[i+1]]-on[[i]],{i,1,Length[on]-1}] (* Difference at each stage *)
Comments