OFFSET
0,1
COMMENTS
Periodic with period 12: repeat (9,1,8,1,9,0,0,8,1,8,0,9).
Also decimal expansion of 101010101/110010011 = 10101110101/11001110011 = 1010111110101/1100111110011 = ....
REFERENCES
N. Anning, Title unknown, Scripta Math. 22 (1956), p. 227.
LINKS
Arkadiusz Wesolowski, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, -1, 1).
EXAMPLE
9091/9901 = 0.918190081809918190081809918....
MATHEMATICA
RealDigits[N[9091/9901, 200]][[1]]
Flatten@Table[{9, 1, 8, 1, 9, 0, 0, 8, 1, 8, 0, 9}, {16}]
LinearRecurrence[{1, 0, 0, 0, 0, -1, 1}, {9, 1, 8, 1, 9, 0, 0}, 108] (* Ray Chandler, Aug 27 2015 *)
PROG
(PARI) A182494(n)=[9, 1, 8, 1, 9, 0, 0, 8, 1, 8, 0, 9][abs(n)%12+1] \\ - M. F. Hasler, Jul 01 2012
CROSSREFS
KEYWORD
AUTHOR
Arkadiusz Wesolowski, May 02 2012
EXTENSIONS
Extended by Ray Chandler, Aug 27 2015
STATUS
approved