

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(n1)  a(n3) + a(n4) 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(n1) Self(n3)+Self(n4): 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



