login
A021710
Decimal expansion of 1/706.
0
0, 0, 1, 4, 1, 6, 4, 3, 0, 5, 9, 4, 9, 0, 0, 8, 4, 9, 8, 5, 8, 3, 5, 6, 9, 4, 0, 5, 0, 9, 9, 1, 5, 0, 1, 4, 1, 6, 4, 3, 0, 5, 9, 4, 9, 0, 0, 8, 4, 9, 8, 5, 8, 3, 5, 6, 9, 4, 0, 5, 0, 9, 9, 1, 5, 0, 1, 4, 1, 6, 4, 3, 0, 5, 9, 4, 9, 0, 0, 8, 4, 9, 8, 5, 8, 3, 5, 6, 9, 4, 0, 5, 0, 9, 9, 1, 5, 0, 1
OFFSET
0,4
FORMULA
From Chai Wah Wu, Apr 22 2024: (Start)
a(n) = a(n-1) - a(n-16) + a(n-17) for n > 17.
G.f.: x^2*(-5*x^15 + 4*x^14 - 8*x^13 + 9*x^11 - 5*x^10 + 5*x^9 - 4*x^8 - 5*x^7 + 3*x^6 + x^5 + 2*x^4 - 5*x^3 + 3*x^2 - 3*x - 1)/((x - 1)*(x^16 + 1)). (End)
MATHEMATICA
Join[{0, 0}, RealDigits[1/706, 10, 120][[1]]] (* or *) PadRight[{0}, 120, {5, 0, 1, 4, 1, 6, 4, 3, 0, 5, 9, 4, 9, 0, 0, 8, 4, 9, 8, 5, 8, 3, 5, 6, 9, 4, 0, 5, 0, 9, 9, 1}] (* Harvey P. Dale, Dec 07 2019 *)
CROSSREFS
Sequence in context: A348853 A349238 A249074 * A127555 A192085 A117001
KEYWORD
nonn,cons,easy
STATUS
approved