login
A021519
Decimal expansion of 1/515.
0
0, 0, 1, 9, 4, 1, 7, 4, 7, 5, 7, 2, 8, 1, 5, 5, 3, 3, 9, 8, 0, 5, 8, 2, 5, 2, 4, 2, 7, 1, 8, 4, 4, 6, 6, 0, 1, 9, 4, 1, 7, 4, 7, 5, 7, 2, 8, 1, 5, 5, 3, 3, 9, 8, 0, 5, 8, 2, 5, 2, 4, 2, 7, 1, 8, 4, 4, 6, 6, 0, 1, 9, 4, 1, 7, 4, 7, 5, 7, 2, 8, 1, 5, 5, 3, 3, 9, 8, 0, 5, 8, 2, 5, 2, 4, 2, 7, 1, 8
OFFSET
0,4
FORMULA
From Chai Wah Wu, Jan 28 2021: (Start)
a(n) = a(n-1) - a(n-17) + a(n-18) for n > 18.
G.f.: x^2*(-6*x^16 + 2*x^14 - 4*x^12 + 7*x^11 - 6*x^10 + 5*x^9 - 2*x^8 + 2*x^7 - 3*x^6 + 3*x^5 - 6*x^4 + 3*x^3 + 5*x^2 - 8*x - 1)/(x^18 - x^17 + x - 1). (End)
MAPLE
Digits := 100; evalf(1/515); # Wesley Ivan Hurt, Feb 03 2014
MATHEMATICA
RealDigits[1/515, 10, 100, -1] (* Wesley Ivan Hurt, Feb 03 2014 *)
LinearRecurrence[{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1}, {0, 0, 1, 9, 4, 1, 7, 4, 7, 5, 7, 2, 8, 1, 5, 5, 3, 3, 9}, 99] (* Robert P. P. McKone, Jan 28 2021 *)
CROSSREFS
Sequence in context: A154837 A377480 A203125 * A199780 A292684 A330274
KEYWORD
nonn,cons
STATUS
approved