login
A021342
Decimal expansion of 1/338.
0
0, 0, 2, 9, 5, 8, 5, 7, 9, 8, 8, 1, 6, 5, 6, 8, 0, 4, 7, 3, 3, 7, 2, 7, 8, 1, 0, 6, 5, 0, 8, 8, 7, 5, 7, 3, 9, 6, 4, 4, 9, 7, 0, 4, 1, 4, 2, 0, 1, 1, 8, 3, 4, 3, 1, 9, 5, 2, 6, 6, 2, 7, 2, 1, 8, 9, 3, 4, 9, 1, 1, 2, 4, 2, 6, 0, 3, 5, 5, 0, 2, 9, 5, 8, 5, 7, 9, 8, 8, 1, 6, 5, 6, 8, 0, 4, 7, 3, 3
OFFSET
0,3
FORMULA
From Chai Wah Wu, Oct 30 2018: (Start)
a(n) = a(n-1) - a(n-39) + a(n-40) for n > 40.
G.f.: x^2*(-5*x^38 + 2*x^36 + 3*x^35 - 6*x^34 + 4*x^33 - 2*x^32 + 2*x^31 + x^30 - 8*x^28 + 5*x^27 + x^26 - 6*x^25 + x^24 + 7*x^23 - x^22 - 5*x^21 + 5*x^20 - 4*x^19 + 4*x^17 - 3*x^16 - 4*x^15 + 8*x^14 - 2*x^13 - x^12 + x^11 - 5*x^10 + 7*x^9 + x^7 - 2*x^6 - 2*x^5 + 3*x^4 - 3*x^3 + 4*x^2 - 7*x - 2)/(x^40 - x^39 + x - 1). (End)
MATHEMATICA
Join[{0, 0}, RealDigits[1/338, 10, 120][[1]]] (* Harvey P. Dale, Jan 02 2018 *)
CROSSREFS
Sequence in context: A373495 A339925 A171052 * A069857 A076841 A213819
KEYWORD
nonn,cons
AUTHOR
STATUS
approved