login
Decimal expansion of 1/338.
0

%I #9 Oct 30 2018 20:23:20

%S 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,

%T 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,

%U 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

%N Decimal expansion of 1/338.

%F From _Chai Wah Wu_, Oct 30 2018: (Start)

%F a(n) = a(n-1) - a(n-39) + a(n-40) for n > 40.

%F 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)

%t Join[{0,0},RealDigits[1/338,10,120][[1]]] (* _Harvey P. Dale_, Jan 02 2018 *)

%K nonn,cons

%O 0,3

%A _N. J. A. Sloane_.