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 A021165 #18 Jul 08 2025 08:06:14 %S A021165 0,0,6,2,1,1,1,8,0,1,2,4,2,2,3,6,0,2,4,8,4,4,7,2,0,4,9,6,8,9,4,4,0,9, %T A021165 9,3,7,8,8,8,1,9,8,7,5,7,7,6,3,9,7,5,1,5,5,2,7,9,5,0,3,1,0,5,5,9,0,0, %U A021165 6,2,1,1,1,8,0,1,2,4,2,2,3,6,0,2,4,8,4,4,7,2,0,4,9,6,8,9,4,4,0 %N A021165 Decimal expansion of 1/161. %C A021165 Period 66. - _Charles R Greathouse IV_, Sep 06 2016 %H A021165 <a href="/index/Rec#order_34">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, 0, 0, 0, -1, 1). %F A021165 From _Chai Wah Wu_, Sep 05 2016: (Start) %F A021165 a(n) = a(n-1) - a(n-33) + a(n-34) for n > 33. %F A021165 G.f.: x^2*(-9*x^31 + 4*x^30 + 5*x^28 - x^27 - 2*x^26 + 3*x^25 - 5*x^24 - 4*x^23 + 2*x^22 + 5*x^21 - 3*x^20 + 4*x^18 - 4*x^17 - 2*x^16 - 2*x^15 + 6*x^14 - 3*x^13 - x^12 + 2*x^10 - 2*x^9 - x^8 - x^7 + 8*x^6 - 7*x^5 + x^2 + 4*x - 6)/(x^34 - x^33 + x - 1). (End) %t A021165 Join[{0,0},RealDigits[1/161,10,120][[1]]] (* _Harvey P. Dale_, Dec 21 2022 *) %t A021165 realDigitsRecip[161] (* The realDigitsRecip program is at A021200 *) (* _Harvey P. Dale_, Nov 20 2024 *) %o A021165 (PARI) 1/161. \\ _Altug Alkan_, Sep 06 2016 %K A021165 nonn,cons,easy %O A021165 0,3 %A A021165 _N. J. A. Sloane_