0,2

Table of n, a(n) for n=0..80.

Index entries for linear recurrences with constant coefficients, signature (0,1).

a(n)=3*[1-(-1)^n] =6*(n mod 2) - Paolo P. Lava, Oct 20 2006

G.f. 6x/((1-x)(1+x)). - R. J. Mathar, Nov 21 2011

(PARI) a(n)=n%2*6 \\ Charles R Greathouse IV, Jul 13 2016

Sequence in context: A280508 A217221 A158090 * A021169 A303494 A198368

Adjacent sequences: A010674 A010675 A010676 * A010678 A010679 A010680

nonn,easy

N. J. A. Sloane.

approved