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 A021105 #19 Nov 16 2016 12:37:23 %S A021105 0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0, %T A021105 9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9, %U A021105 0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9,9,0,0,9 %N A021105 Decimal expansion of 1/101. %H A021105 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (1,-1,1). %F A021105 From _Wesley Ivan Hurt_, Jun 04 2016: (Start) %F A021105 G.f.: 9*x^2/(1-x)*(1+x^2). %F A021105 a(n) = a(n-1) - a(n-2) + a(n-3) for n>2. %F A021105 a(n) = 9*(1+(-1)^((2*n+3+(-1)^n)/4))/2 = 9*A133872(n+2). %F A021105 a(n) = 9*(1+i)*(1-i-i^(-n)+i^(1+n))/4 where i=sqrt(-1). %F A021105 a(2k) = A010680(k), a(2k+1) = A010680(k+1). (End) %F A021105 E.g.f.: 9*(-sin(x) - cos(x) + sinh(x) + cosh(x))/2. - _Ilya Gutkovskiy_, Jun 04 2016 %p A021105 Digits:=100: evalf(1/101); # _Wesley Ivan Hurt_, Jun 04 2016 %t A021105 Flatten[RealDigits[1/101, 10, 100, -1]] (* _Wesley Ivan Hurt_, Jun 04 2016 *) %o A021105 (PARI) a(n) = {r=lift(Mod(10,101)^(n-1));floor(10*r/101)} \\ _Michael B. Porter_, Oct 01 2009 %Y A021105 Cf. A010680, A133872. %K A021105 nonn,cons,easy %O A021105 0,3 %A A021105 _N. J. A. Sloane_