%I #9 Mar 07 2021 20:35:58
%S 0,0,1,0,2,4,5,9,0,1,6,3,9,3,4,4,2,6,2,2,9,5,0,8,1,9,6,7,2,1,3,1,1,4,
%T 7,5,4,0,9,8,3,6,0,6,5,5,7,3,7,7,0,4,9,1,8,0,3,2,7,8,6,8,8,5,2,4,5,9,
%U 0,1,6,3,9,3,4,4,2,6,2,2,9,5,0,8,1,9,6,7,2,1,3,1,1,4,7,5,4,0,9
%N Decimal expansion of 1/976.
%H <a href="/index/Rec#order_31">Index entries for linear recurrences with constant coefficients</a>, signature (1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,1).
%F From _Chai Wah Wu_, Mar 07 2021: (Start)
%F a(n) = a(n-1) - a(n-30) + a(n-31) for n > 34.
%F G.f.: x^2*(-5*x^32 - 2*x^31 - x^30 + 2*x^29 - 2*x^28 + x^27 + 5*x^26 - x^25 + 3*x^24 - 8*x^23 + 7*x^22 - 8*x^21 + 5*x^20 + 4*x^19 - 7*x^18 + 4*x^16 - 4*x^15 + 2*x^14 - x^12 + 6*x^11 - 6*x^10 + 3*x^9 - 5*x^8 - x^7 + 9*x^6 - 4*x^5 - x^4 - 2*x^3 - 2*x^2 + x - 1)/(x^31 - x^30 + x - 1). (End)
%t Join[{0,0},RealDigits[1/976,10,120][[1]]] (* or *) PadRight[{0,0,1,0},120,{6,8,8,5,2,4,5,9,0,1,6,3,9,3,4,4,2,6,2,2,9,5,0,8,1,9,6,7,2,1,3,1,1,4,7,5,4,0,9,8,3,6,0,6,5,5,7,3,7,7,0,4,9,1,8,0,3,2,7,8}] (* _Harvey P. Dale_, Oct 08 2016 *)
%K nonn,cons
%O 0,5
%A _N. J. A. Sloane_.