login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


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 A330564

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 June 1 09:53 EDT 2020. Contains 334762 sequences. (Running on oeis4.)