OFFSET
0,2
COMMENTS
Number of words of length n over the alphabet {1,2,3,4} such that no odd letter is followed by an odd letter. - Armend Shabani, Feb 18 2017
LINKS
Jens Christian Claussen, Time-evolution of the Rule 150 cellular automaton activity from a Fibonacci iteration, arXiv:math/0410429 [math.CO], 2004. See Table II, p. 4.
N. J. A. Sloane, On the Number of ON Cells in Cellular Automata, arXiv:1503.01168 [math.CO], 2015.
Index entries for linear recurrences with constant coefficients, signature (2,4).
FORMULA
G.f.: (1+2x)/(1-2x-4x^2).
a(n) = (1-sqrt(5))^n*(1/2-3*sqrt(5)/10)+(1+sqrt(5))^n*(1/2+3*sqrt(5)/10).
a(n) = 2^n*Fibonacci(n+2). - Paul Barry, Mar 22 2004
a(n) = ((1+sqrt(5))^n-(1-sqrt(5))^n)/sqrt(80). Offset 2. a(4)=12. - Al Hakanson (hawkuu(AT)gmail.com), Apr 11 2009
G.f.: 1/(-2x-1/(-2x-1)). - Paul Barry, Mar 24 2010
MATHEMATICA
LinearRecurrence[{2, 4}, {1, 4}, 25] (* Jean-François Alcover, Sep 21 2017 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Aug 25 2003
EXTENSIONS
Comment corrected by Philippe Deléham, Nov 27 2008
STATUS
approved