cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A021508 Decimal expansion of 1/504.

This page as a plain text file.
%I A021508 #19 Jul 08 2025 08:32:37
%S A021508 0,0,1,9,8,4,1,2,6,9,8,4,1,2,6,9,8,4,1,2,6,9,8,4,1,2,6,9,8,4,1,2,6,9,
%T A021508 8,4,1,2,6,9,8,4,1,2,6,9,8,4,1,2,6,9,8,4,1,2,6,9,8,4,1,2,6,9,8,4,1,2,
%U A021508 6,9,8,4,1,2,6,9,8,4,1,2,6,9,8,4,1,2,6,9,8,4,1,2,6,9,8,4,1,2,6
%N A021508 Decimal expansion of 1/504.
%H A021508 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (2,-2,1).
%F A021508 From _Chai Wah Wu_, Aug 10 2020: (Start)
%F A021508 a(n) = 2*a(n-1) - 2*a(n-2) + a(n-3) for n > 5.
%F A021508 G.f.: x^2*(-5*x^3 + 8*x^2 - 7*x - 1)/((x - 1)*(x^2 - x + 1)). (End)
%t A021508 realDigitsRecip[504] (* The realDigitsRecip program is at A021200 *) (* _Harvey P. Dale_, May 16 2025 *)
%K A021508 nonn,cons
%O A021508 0,4
%A A021508 _N. J. A. Sloane_