OFFSET
1,1
COMMENTS
There are two definitions of the periodic part: zeros may either begin or end the periodic part. For example, for 1/11 = 0.0909090..., the periodic part could be either 09 or 90. This sequences assumes that the zeros are at the end of the periodic part. See A171928 for the case of zeros at the beginning of the periodic part.
Note that the terms following 487 are divisible by 487. This pattern continues until the prime number 56598313, which is another member of A045616.
MATHEMATICA
Reap[Do[k=RealDigits[1/n][[1, -1]]; If[Head[k] === List && Mod[FromDigits[k], n] == 0, Sow[n]], {n, 10000}]][[2, 1]]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
T. D. Noe, Jul 06 2010
STATUS
approved