A010708 Period 2: repeat [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, 3, 10
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (0,1).
Crossrefs
Cf. A176109.
Programs
-
Mathematica
PadRight[{},100,{3,10}] (* Harvey P. Dale, Oct 31 2015 *)
-
PARI
a(n)=3+n%2*7 \\ Charles R Greathouse IV, Dec 21 2011
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
Comments