OFFSET
0,4
LINKS
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
KEYWORD
nonn,cons
AUTHOR
EXTENSIONS
Formula corrected by Paolo P. Lava, Nov 20 2009
STATUS
approved