A021892 Decimal expansion of 1/888.
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, 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, 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
Offset: 0
Examples
0.001126126126126126... - _David A. Corneth_, Oct 01 2017
Links
- David A. Corneth, Table of n, a(n) for n = 0..9999
- Index entries for linear recurrences with constant coefficients, signature (0, 0, 1).
Programs
-
Mathematica
realDigitsRecip[888] (* The realDigitsRecip program is at A021200 *) (* or *) PadRight[{0,0,1},120,{1,2,6}] (* Harvey P. Dale, Oct 04 2024 *)
-
PARI
a(n) = if(n<=2, (n+1)\3, (1+n%3)!) \\ David A. Corneth, Oct 01 2017