OFFSET
0,2
COMMENTS
A real number is said to be evil if the cumulative sum of its digits following the decimal point 'hits' the value 666. It is amazing how close this value is to 1/5 (the difference is in A271881).
LINKS
Stanislav Sykora, Table of n, a(n) for n = 0..2000
Eric Weisstein's World of Mathematics, Evil Number.
EXAMPLE
0.19999999999999999999999999999999999999999999999999999999999999978337...
MATHEMATICA
RealDigits[SeriesCoefficient[(1 - x^9)/(x^10 - 10 x + 9), {x, 0, 665}], 10, 120][[1]] (* Amiram Eldar, May 24 2023 *)
PROG
(PARI) 0.0 + Vec(Ser((1-x^9)/(x^10-10*x+9), x, 666))[666]
CROSSREFS
KEYWORD
AUTHOR
Stanislav Sykora, Apr 16 2016
STATUS
approved