OFFSET
0,2
COMMENTS
Row sums of triangle A108358.
LINKS
Index entries for linear recurrences with constant coefficients, signature (2, -3, 4, -3, 2, -1).
FORMULA
a(n)=2a(n-1)-3a(n-2)+4a(n-3)-3a(n-4)+2a(n-5)-a(n-6); a(n)=-cos(pi*n/2)/4+(1-n)*sin(pi*n/2)/4+(3n+5)/4; a(n)=sum{k=0..n, mod(sum{j=0..n-k, C(k, j)C(n-j, k)floor((j+2)/2)}, 2)}
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, May 31 2005
STATUS
approved