



3, 2, 3, 2, 5, 2, 3, 2, 5, 2, 3, 2, 5, 2, 3, 2, 5, 2, 3, 2, 5, 2, 3, 2, 5, 2, 3, 2, 5, 2, 3, 2, 5, 2, 3, 2, 5, 2, 3, 2, 5
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Except for initial term, periodic sequence with period 2 3 2 5.


LINKS

Table of n, a(n) for n=1..41.
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 1).


FORMULA

a(n)=(1/4)*{(n mod 4)+3*[(n+1) mod 4]+5*[(n+2) mod 4]+[(n+3) mod 4]}2*[C(2*n,n) mod 2], with n>=0  Paolo P. Lava, Feb 15 2008


CROSSREFS

Cf. A090964.
Sequence in context: A268714 A084117 A116895 * A249800 A165258 A238393
Adjacent sequences: A134264 A134265 A134266 * A134268 A134269 A134270


KEYWORD

nonn


AUTHOR

Giovanni Teofilatto, Jan 15 2008


STATUS

approved



