login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A021670 Decimal expansion of 1/666. 1
0, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1, 5, 0, 1 (list; constant; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
MATHEMATICA
Join[{0, 0}, RealDigits[1/666, 10, 120][[1]]] (* or *) PadRight[{0, 0, 1}, 111, {5, 0, 1}] (* Harvey P. Dale, Oct 17 2011 *)
PROG
(PARI) a(n)=if(n, [5, 0, 1][n%3+1], 0) \\ Charles R Greathouse IV, Jan 20 2012
CROSSREFS
Sequence in context: A274619 A230844 A054672 * A060081 A197515 A326185
KEYWORD
nonn,cons,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 13:00 EDT 2024. Contains 371945 sequences. (Running on oeis4.)