login
A021282
Decimal expansion of 1/278.
0
0, 0, 3, 5, 9, 7, 1, 2, 2, 3, 0, 2, 1, 5, 8, 2, 7, 3, 3, 8, 1, 2, 9, 4, 9, 6, 4, 0, 2, 8, 7, 7, 6, 9, 7, 8, 4, 1, 7, 2, 6, 6, 1, 8, 7, 0, 5, 0, 3, 5, 9, 7, 1, 2, 2, 3, 0, 2, 1, 5, 8, 2, 7, 3, 3, 8, 1, 2, 9, 4, 9, 6, 4, 0, 2, 8, 7, 7, 6, 9, 7, 8, 4, 1, 7, 2, 6, 6, 1, 8, 7, 0, 5, 0, 3, 5, 9, 7, 1
OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,1).
FORMULA
From Chai Wah Wu, Sep 04 2025: (Start)
a(n) = a(n-1) - a(n-23) + a(n-24) for n > 24.
G.f.: x^2*(-5*x^22 + 5*x^21 - 7*x^20 - x^19 + 7*x^18 - 5*x^17 + 4*x^15 - 5*x^14 + 6*x^13 - 3*x^12 - 4*x^11 + x^10 - 2*x^9 + 3*x^8 - x^7 - x^5 + 6*x^4 + 2*x^3 - 4*x^2 - 2*x - 3)/(x^24 - x^23 + x - 1). (End)
MATHEMATICA
Join[{0, 0}, RealDigits[1/278, 10, 120][[1]]] (* Harvey P. Dale, Dec 18 2022 *)
(* Alternative: *)
PadRight[{0}, 120, {5, 0, 3, 5, 9, 7, 1, 2, 2, 3, 0, 2, 1, 5, 8, 2, 7, 3, 3, 8, 1, 2, 9, 4, 9, 6, 4, 0, 2, 8, 7, 7, 6, 9, 7, 8, 4, 1, 7, 2, 6, 6, 1, 8, 7, 0}] (* Harvey P. Dale, Dec 18 2022 *)
CROSSREFS
Sequence in context: A048639 A369829 A340593 * A016613 A336849 A348994
KEYWORD
nonn,cons
STATUS
approved