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.
%I A021500 #14 Jul 08 2025 08:32:09 %S A021500 0,0,2,0,1,6,1,2,9,0,3,2,2,5,8,0,6,4,5,1,6,1,2,9,0,3,2,2,5,8,0,6,4,5, %T A021500 1,6,1,2,9,0,3,2,2,5,8,0,6,4,5,1,6,1,2,9,0,3,2,2,5,8,0,6,4,5,1,6,1,2, %U A021500 9,0,3,2,2,5,8,0,6,4,5,1,6,1,2,9,0,3,2,2,5,8,0,6,4,5,1,6,1,2,9 %N A021500 Decimal expansion of 1/496. %H A021500 <a href="/index/Rec#order_15">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,0,0,0,0,0,0,0,0,0,0,1). %F A021500 From _Chai Wah Wu_, Aug 10 2020: (Start) %F A021500 a(n) = a(n-15) for n > 18. %F A021500 G.f.: -x^2*(5*x^16 + 2*x^15 + 6*x^14 + 8*x^12 + 5*x^11 + 2*x^10 + 2*x^9 + 3*x^8 + 9*x^6 + 2*x^5 + x^4 + 6*x^3 + x^2 + 2)/(x^15 - 1). (End) %t A021500 Join[{0,0},RealDigits[1/496,10,120][[1]]] (* or *) PadRight[{0,0,2,0},120,{0,6,4,5,1,6,1,2,9,0,3,2,2,5,8}] (* _Harvey P. Dale_, Oct 02 2021 *) %t A021500 realDigitsRecip[496] (* The realDigitsRecip program is at A021200 *) (* _Harvey P. Dale_, Jan 30 2025 *) %K A021500 nonn,cons %O A021500 0,3 %A A021500 _N. J. A. Sloane_