login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A021670 Decimal expansion of 1/666. 0
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; internal format)
OFFSET

0,4

LINKS

Burkard Polster, Juggling, maths and a beautiful mind

Index to sequences with linear recurrences with constant coefficients, signature (0,0,1).

MATHEMATICA

Join[{0, 0}, RealDigits[1/666, 10, 120][[1]]] (* or *) PadRight[{0, 0, 1}, 111, {5, 0, 1}] (* From 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: A117015 A174859 A054672 * A060081 A197515 A083861

Adjacent sequences:  A021667 A021668 A021669 * A021671 A021672 A021673

KEYWORD

nonn,cons,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 12:15 EST 2012. Contains 205909 sequences.