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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A021147 Decimal expansion of 1/143. 1
0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6, 9, 9, 3, 0, 0, 6 (list; constant; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

FORMULA

a(n) = (1/10)*(8*(n mod 6) + 13*((n+1) mod 6) + 3*((n+2) mod 6) - 2*((n+3) mod 6) - 7*((n+4) mod 6) + 3*((n+5) mod 6)). [Paolo P. Lava, Sep 21 2009]

From Chai Wah Wu, Jun 21 2016: (Start)

a(n) = a(n-1) - a(n-3) + a(n-4) for n > 3.

G.f.: 3*x^2*(2 + x)/(1 - x + x^3 - x^4). (End)

MATHEMATICA

PadLeft[First@ #, Abs@ Last@ # + Length@ First@ #] &@ RealDigits[N[1/143, 120]] (* Michael De Vlieger, Jun 21 2016 *)

PROG

(MAGMA) I:=[0, 0, 6, 9]; [n le 4 select I[n] else Self(n-1)- Self(n-3)+Self(n-4): n in [1..100]]; // Vincenzo Librandi, Jun 21 2016

CROSSREFS

Sequence in context: A303046 A155554 A019902 * A246709 A051496 A195296

Adjacent sequences:  A021144 A021145 A021146 * A021148 A021149 A021150

KEYWORD

nonn,cons,easy

AUTHOR

N. J. A. Sloane.

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 10 12:30 EST 2019. Contains 329895 sequences. (Running on oeis4.)