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”).

A153186
Period 9: repeat 1,7,4,7,4,7,1,1,1.
0
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,2
MATHEMATICA
PadRight[{}, 120, {1, 7, 4, 7, 4, 7, 1, 1, 1}] (* Harvey P. Dale, Sep 14 2019 *)
PROG
(PARI) a(n)=[1, 7, 4, 7, 4, 7, 1, 1, 1][n%9+1] \\ Charles R Greathouse IV, Jul 13 2016
CROSSREFS
Cf. A046163.
Sequence in context: A194361 A153586 A319883 * A343628 A085469 A050996
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Dec 20 2008
EXTENSIONS
Edited by N. J. A. Sloane, Dec 25 2008
STATUS
approved