Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #19 Oct 04 2024 16:15:47
%S 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 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 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 Decimal expansion of 1/888.
%H David A. Corneth, <a href="/A021892/b021892.txt">Table of n, a(n) for n = 0..9999</a>
%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 1).
%e 0.001126126126126126... - _David A. Corneth_, Oct 01 2017
%t realDigitsRecip[888] (* The realDigitsRecip program is at A021200 *) (* or *) PadRight[{0,0,1},120,{1,2,6}] (* _Harvey P. Dale_, Oct 04 2024 *)
%o (PARI) a(n) = if(n<=2, (n+1)\3, (1+n%3)!) \\ _David A. Corneth_, Oct 01 2017
%K nonn,cons
%O 0,5
%A _N. J. A. Sloane_