A010733 Period 2: repeat (8,10).
8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10, 8, 10
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (0,1).
Programs
-
Mathematica
PadLeft[{8,10},70,{8,10}] (* Harvey P. Dale, Aug 09 2011 *)
-
PARI
a(n)=n%2*2+8 \\ Charles R Greathouse IV, Jun 11 2015
Formula
G.f. ( -8-10*x ) / ( (x-1)*(1+x) ). - R. J. Mathar, Nov 21 2011
Comments