login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A010708
Period 2: repeat [3,10].
2
3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10
OFFSET
0,1
COMMENTS
Continued fraction expansion of A176109.
FORMULA
a(n) = -7/2*(-1)^n + 13/2. - Paolo P. Lava, Oct 20 2006
G.f. (3+10x)/((1-x)*(1+x)). - R. J. Mathar, Nov 21 2011
a(n+2) = a(n). - Wesley Ivan Hurt, May 26 2024
MATHEMATICA
PadRight[{}, 100, {3, 10}] (* Harvey P. Dale, Oct 31 2015 *)
PROG
(PARI) a(n)=3+n%2*7 \\ Charles R Greathouse IV, Dec 21 2011
CROSSREFS
Cf. A176109.
Sequence in context: A091043 A321118 A167790 * A072988 A170855 A338683
KEYWORD
nonn,easy
STATUS
approved