login
A021149
Decimal expansion of 1/145.
0
0, 0, 6, 8, 9, 6, 5, 5, 1, 7, 2, 4, 1, 3, 7, 9, 3, 1, 0, 3, 4, 4, 8, 2, 7, 5, 8, 6, 2, 0, 6, 8, 9, 6, 5, 5, 1, 7, 2, 4, 1, 3, 7, 9, 3, 1, 0, 3, 4, 4, 8, 2, 7, 5, 8, 6, 2, 0, 6, 8, 9, 6, 5, 5, 1, 7, 2, 4, 1, 3, 7, 9, 3, 1, 0, 3, 4, 4, 8, 2, 7, 5, 8, 6, 2, 0, 6, 8, 9, 6, 5, 5, 1, 7, 2, 4, 1, 3, 7
OFFSET
0,3
FORMULA
From Chai Wah Wu, Jun 21 2016: (Start)
a(n) = a(n-1) - a(n-14) + a(n-15) for n > 15.
G.f.: x^2*(-2*x^13 - 4*x^12 - 2*x^11 + 3*x^10 - 2*x^9 + 5*x^8 - 6*x^7 + 4*x^6 + x^4 + 3*x^3 - x^2 - 2*x - 6)/(x^15 - x^14 + x - 1). (End)
MATHEMATICA
PadLeft[First@ #, Abs@ Last@ # + Length@ First@ #] &@ RealDigits[N[1/145, 120]] (* Michael De Vlieger, Jun 21 2016 *)
CROSSREFS
Sequence in context: A166528 A352324 A196751 * A096391 A190572 A182619
KEYWORD
nonn,cons
AUTHOR
STATUS
approved