%I #24 Aug 27 2025 13:42:23
%S 0,0,1,7,4,8,2,5,1,7,4,8,2,5,1,7,4,8,2,5,1,7,4,8,2,5,1,7,4,8,2,5,1,7,
%T 4,8,2,5,1,7,4,8,2,5,1,7,4,8,2,5,1,7,4,8,2,5,1,7,4,8,2,5,1,7,4,8,2,5,
%U 1,7,4,8,2,5,1,7,4,8,2,5,1,7,4,8,2,5,1,7,4,8,2,5,1,7,4,8,2,5,1
%N Decimal expansion of 1/572.
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (1, 0, -1, 1).
%F From _Chai Wah Wu_, Jun 13 2020: (Start)
%F a(n) = a(n-1) - a(n-3) + a(n-4) for n > 5.
%F G.f.: x^2*(-5*x^3 + 3*x^2 - 6*x - 1)/(x^4 - x^3 + x - 1). (End)
%e 0.0017482517482517482517482517482517482517482517482517...
%t First[RealDigits[1/572, 10, 100, -1]] (* _Paolo Xausa_, Aug 23 2025 *)
%t realDigitsRecip[572] (* The realDigitsRecip program is at A021200 *) (* or *) PadRight[{0,0},120,{2,5,1,7,4,8}] (* _Harvey P. Dale_, Aug 27 2025 *)
%K nonn,cons,easy
%O 0,4
%A _N. J. A. Sloane_