OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n=1..500
A. Barbé, Symmetric patterns in the cellular automaton that generates Pascal's triangle modulo 2, Discr. Appl. Math. 105(2000), 1-38.
Index entries for linear recurrences with constant coefficients, signature (2,2,-2,-4,-4,8).
FORMULA
a(n) = (2^(n-1)+2^(floor(n/3) + (n mod 3)mod 2))/3 + 2^floor((n-1)/2).
G.f.: -2*x*(4*x^5 + x^4 - x^3 - 2*x^2 - x + 1) / ((2*x-1)*(2*x^2-1)*(2*x^3-1)). - Colin Barker, Aug 29 2013
PROG
(PARI) { for (n=1, 500, a=(2^(n-1) + 2^(floor(n/3) + (n%3)%2))/3 + 2^floor((n-1)/2); write("b060553.txt", n, " ", a); ) } \\ Harry J. Smith, Jul 07 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
André Barbé (Andre.Barbe(AT)esat.kuleuven.ac.be), Apr 03 2001
EXTENSIONS
More terms from Colin Barker, Aug 29 2013
STATUS
approved