login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A021559
Decimal expansion of 1/555.
4
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,4
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
EXAMPLE
0.00180180180180180180180180180180180...
MATHEMATICA
PadRight[{0}, 100, {8, 0, 1}] (* Paolo Xausa, Feb 22 2024 *)
PROG
(PARI) 1/555.0 \\ Michel Marcus, Jun 04 2016
CROSSREFS
Sequence in context: A241215 A272343 A011314 * A167176 A354631 A195447
KEYWORD
nonn,cons
EXTENSIONS
Formula corrected by Paolo P. Lava, Nov 20 2009
STATUS
approved