OFFSET
0,5
LINKS
Index entries for periodic sequences, period 6.
Index entries for linear recurrences with constant coefficients, signature (1, -1, 1, -1, 1).
EXAMPLE
0.00105820105820105820105820105820105820105820105820105820105820105820105820....
MATHEMATICA
Join[{0, 0}, RealDigits[1/945, 10, 120][[1]]] (* or *) PadRight[{0}, 120, {2, 0, 1, 0, 5, 8}] (* Harvey P. Dale, May 29 2019 *)
PROG
(PARI) a(n)=if(n, 505280\9^(n%6)%9, 0) \\ Charles R Greathouse IV, Jun 01 2026
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved
