OFFSET
0,2
COMMENTS
This is the subsequence A246039(2^n-1), n >= 0.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Shalosh B. Ekhad, N. J. A. Sloane, and Doron Zeilberger, A Meta-Algorithm for Creating Fast Algorithms for Counting ON Cells in Odd-Rule Cellular Automata, arXiv:1503.01796, 2015; see also the Accompanying Maple Package.
Shalosh B. Ekhad, N. J. A. Sloane, and Doron Zeilberger, Odd-Rule Cellular Automata on the Square Grid, arXiv:1503.04249, 2015.
N. J. A. Sloane, On the No. of ON Cells in Cellular Automata, Video of talk in Doron Zeilberger's Experimental Math Seminar at Rutgers University, Feb. 05 2015: Part 1, Part 2
N. J. A. Sloane, On the Number of ON Cells in Cellular Automata, arXiv:1503.01168, 2015
Index entries for linear recurrences with constant coefficients, signature (3, 0, 8, 8).
MAPLE
-(2*x+1)*(4*x^2+2*x+1)/(8*x^4+8*x^3+3*x-1);
MATHEMATICA
LinearRecurrence[{3, 0, 8, 8}, {1, 7, 29, 103}, 28] (* Jean-François Alcover, Oct 09 2018 *)
CoefficientList[Series[(1+2x)(1+2x+4x^2)/(1-3x-8x^3-8x^4), {x, 0, 30}], x] (* Harvey P. Dale, May 11 2026 *)
PROG
(PARI) a(n)=([0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1; 8, 8, 0, 3]^n*[1; 7; 29; 103])[1, 1] \\ Charles R Greathouse IV, May 31 2026
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
N. J. A. Sloane, Aug 21 2014
STATUS
approved
