login
A010707
Period 2: repeat (3,9).
2
3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3
OFFSET
0,1
COMMENTS
Continued fraction expansion of A176108. - R. J. Mathar, Mar 08 2012
FORMULA
a(n) = -3*(-1)^n+6. - Paolo P. Lava, Oct 20 2006
G.f.: 3(1+3x)/((1-x)(1+x)). - R. J. Mathar, Nov 21 2011
MATHEMATICA
PadRight[{}, 120, {3, 9}] (* Harvey P. Dale, Nov 07 2017 *)
PROG
(PARI) a(n)=3+n%2*6 \\ Charles R Greathouse IV, Dec 21 2011
CROSSREFS
Sequence in context: A231828 A268580 A179802 * A097665 A284564 A170862
KEYWORD
nonn,easy
AUTHOR
STATUS
approved