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.

A021892 Decimal expansion of 1/888.

This page as a plain text file.
%I A021892 #19 Oct 04 2024 16:15:47
%S A021892 0,0,1,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,
%T A021892 2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,
%U A021892 6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6,1,2,6
%N A021892 Decimal expansion of 1/888.
%H A021892 David A. Corneth, <a href="/A021892/b021892.txt">Table of n, a(n) for n = 0..9999</a>
%H A021892 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 1).
%e A021892 0.001126126126126126... - _David A. Corneth_, Oct 01 2017
%t A021892 realDigitsRecip[888] (* The realDigitsRecip program is at A021200 *)  (* or *) PadRight[{0,0,1},120,{1,2,6}] (* _Harvey P. Dale_, Oct 04 2024 *)
%o A021892 (PARI) a(n) = if(n<=2, (n+1)\3, (1+n%3)!) \\ _David A. Corneth_, Oct 01 2017
%K A021892 nonn,cons
%O A021892 0,5
%A A021892 _N. J. A. Sloane_