OFFSET
0,4
COMMENTS
Generalization:
1/5 = Sum_(5^i/10^(i+1)), i >= 0,
1/95 = Sum_(5^i/100^(i+1)), i >= 0, (this sequence)
1/995 = Sum_(5^i/1000^(i+1)), i >= 0,
1/9995 = Sum_(5^i/1000^(i+1)), i >= 0, ... - Daniel Forgues, Oct 28 2011
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,-1,1).
FORMULA
From Chai Wah Wu, Sep 24 2020: (Start)
a(n) = a(n-1) - a(n-9) + a(n-10) for n > 10.
G.f.: x*(-2*x^9 - 2*x^8 - 4*x^7 + 2*x^6 + 3*x^5 - 4*x^4 + 3*x^3 - 5*x^2 + x - 1)/(x^10 - x^9 + x - 1). (End)
MAPLE
evalf(1/95, 100); # Wesley Ivan Hurt, Apr 28 2017
MATHEMATICA
Join[{0}, RealDigits[1/95, 10, 120][[1]]] (* Harvey P. Dale, Mar 03 2012 *)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
STATUS
approved