login
A021422
Decimal expansion of 1/418.
0
0, 0, 2, 3, 9, 2, 3, 4, 4, 4, 9, 7, 6, 0, 7, 6, 5, 5, 5, 0, 2, 3, 9, 2, 3, 4, 4, 4, 9, 7, 6, 0, 7, 6, 5, 5, 5, 0, 2, 3, 9, 2, 3, 4, 4, 4, 9, 7, 6, 0, 7, 6, 5, 5, 5, 0, 2, 3, 9, 2, 3, 4, 4, 4, 9, 7, 6, 0, 7, 6, 5, 5, 5, 0, 2, 3, 9, 2, 3, 4, 4, 4, 9, 7, 6, 0, 7, 6, 5, 5, 5, 0, 2, 3, 9, 2, 3, 4, 4
OFFSET
0,3
FORMULA
From Chai Wah Wu, Mar 03 2021: (Start)
a(n) = a(n-1) - a(n-9) + a(n-10) for n > 10.
G.f.: x^2*(-5*x^8 - x^5 - x^4 + 7*x^3 - 6*x^2 - x - 2)/(x^10 - x^9 + x - 1). (End)
MATHEMATICA
Join[{0, 0}, RealDigits[1/418, 10, 120][[1]]] (* or *) PadRight[{0}, 120, {5, 0, 2, 3, 9, 2, 3, 4, 4, 4, 9, 7, 6, 0, 7, 6, 5, 5}] (* Harvey P. Dale, Jun 15 2021 *)
CROSSREFS
Sequence in context: A280987 A030367 A028508 * A193086 A281289 A377024
KEYWORD
nonn,cons
AUTHOR
STATUS
approved