A021559 Decimal expansion of 1/555.
0, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1, 8, 0, 1
Offset: 0
Examples
0.00180180180180180180180180180180180...
Links
- Index entries for linear recurrences with constant coefficients, signature (0,0,1).
Programs
-
Mathematica
PadRight[{0}, 100, {8, 0, 1}] (* Paolo Xausa, Feb 22 2024 *)
-
PARI
1/555.0 \\ Michel Marcus, Jun 04 2016
Formula
a(n) = (n+2)^3 mod 9, n>0. - Gary Detlefs, Feb 20 2011
G.f.: x^2*(1 + 8*x)/(1 - x^3). - Ilya Gutkovskiy, Jun 04 2016
Extensions
Formula corrected by Paolo P. Lava, Nov 20 2009