0,1

Continued fraction of 3 + sqrt(483)/7 = A176399. - R. J. Mathar, Nov 21 2011

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

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

a(n) = -(1/2)*(-1)^n + 13/2 = 7*(n mod 2) + 6*[(n+1) mod 2]. - Paolo P. Lava, Oct 27 2006

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

Table[6 + Mod[n, 2], {n, 0, 50}] (* Jinyuan Wang, Feb 26 2020 *)

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

Sequence in context: A186282 A171909 A199079 * A244588 A336002 A223172

Adjacent sequences: A010720 A010721 A010722 * A010724 A010725 A010726

nonn,easy

N. J. A. Sloane

approved