
9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,1


COMMENTS

Continued fraction expansion of A176523.  R. J. Mathar, Mar 08 2012


LINKS

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


FORMULA

a(n) = 1/2*(1)^n + 19/2 = 10*(n mod 2) + 9*[(n+1) mod 2].  Paolo P. Lava, Oct 27 2006
G.f. ( 910*x ) / ( (x1)*(1+x) ).  R. J. Mathar, Nov 21 2011


MATHEMATICA

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


PROG

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


CROSSREFS

Sequence in context: A020508 A158001 A157763 * A063543 A096166 A240919
Adjacent sequences: A010732 A010733 A010734 * A010736 A010737 A010738


KEYWORD

nonn,easy


AUTHOR

N. J. A. Sloane


STATUS

approved

