A153186 Period 9: repeat 1,7,4,7,4,7,1,1,1.
1, 7, 4, 7, 4, 7, 1, 1, 1, 1, 7, 4, 7, 4, 7, 1, 1, 1, 1, 7, 4, 7, 4, 7, 1, 1, 1, 1, 7, 4, 7, 4, 7, 1, 1, 1, 1, 7, 4, 7, 4, 7, 1, 1, 1, 1, 7, 4, 7, 4, 7, 1, 1, 1, 1, 7, 4, 7, 4, 7, 1, 1, 1, 1, 7, 4, 7, 4, 7, 1, 1, 1
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,1).
Crossrefs
Cf. A046163.
Programs
-
Mathematica
PadRight[{},120,{1,7,4,7,4,7,1,1,1}] (* Harvey P. Dale, Sep 14 2019 *)
-
PARI
a(n)=[1,7,4,7,4,7,1,1,1][n%9+1] \\ Charles R Greathouse IV, Jul 13 2016
Extensions
Edited by N. J. A. Sloane, Dec 25 2008