OFFSET
0,2
COMMENTS
Period 2: repeat [0,9].
LINKS
FORMULA
a(n) = (9/2)*(1 - (-1)^n) = 9*(n mod 2). - Paolo P. Lava, Oct 31 2006
From Elmo R. Oliveira, Jan 15 2024: (Start)
a(n) = a(n-2) for n >= 2.
a(n) = 3 * A010674(n).
G.f.: 9*x/(1-x^2).
E.g.f.: 9*sinh(x). (End)
a(n) = 9 * A000035(n). - Alois P. Heinz, Jan 16 2024
EXAMPLE
1/11 = 0.0909090909090909090909090909090909090909090909090909090909...
MATHEMATICA
RealDigits[1/11, 10, 100][[1]] (* Alonso del Arte, Mar 11 2018 *)
PROG
(PARI) a(n) = 9*(n%2); \\ Altug Alkan, Mar 25 2018
CROSSREFS
KEYWORD
AUTHOR
STATUS
approved