OFFSET
0,3
COMMENTS
After the initial "0", periodic with period length 22. - Wesley Ivan Hurt, May 24 2021
LINKS
Index entries for periodic sequences, period 22.
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,0,-1,1).
EXAMPLE
0.00413223140495867768595041322314049586776859504132231404958677685950413223....
MATHEMATICA
Join[{0, 0}, RealDigits[1/242, 10, 120][[1]]] (* Harvey P. Dale, Oct 30 2018 *)
(* Alternative: *)
PadRight[{0}, 120, {5, 0, 4, 1, 3, 2, 2, 3, 1, 4, 0, 4, 9, 5, 8, 6, 7, 7, 6, 8, 5, 9}] (* Harvey P. Dale, Oct 30 2018 *)
PROG
(PARI) a(n)=if(n, 9586776859404132231405\10^(n%22)%10, 0) \\ Charles R Greathouse IV, Jun 01 2026
(PARI) 1/242. \\ Charles R Greathouse IV, Jun 01 2026
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved
