A010735 Period 2: repeat (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, 9, 10
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (0,1).
Programs
-
Mathematica
Table[9 + Mod[n, 2], {n, 0, 50}] (* Jinyuan Wang, Feb 26 2020 *) PadRight[{},70,{9,10}] (* Harvey P. Dale, Sep 23 2021 *)
-
PARI
a(n)=n%2+9 \\ Charles R Greathouse IV, Jul 13 2016
Formula
G.f. ( -9-10*x ) / ( (x-1)*(1+x) ). - R. J. Mathar, Nov 21 2011
Comments