OFFSET
1,2
COMMENTS
a(n) = 7 for n > 73.
LINKS
Eric Weisstein's World of Mathematics, e
FORMULA
a(n) = floor(10*(1+1/n)^n) mod 10.
EXAMPLE
(1 + 1/10)^10 = 2.593742..., therefore a(10) = 5.
MATHEMATICA
Table[First[RealDigits[(1+1/n)^n, 10, 2]][[2]], {n, 103}] (* James C. McMahon, Aug 20 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Mar 20 2006
STATUS
approved