login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A322721
Number of times the digit 6 appears in the first 10^n decimal digits of Euler's number e = exp(1), counting starts after the decimal point.
9
0, 12, 99, 1079, 10183, 100479, 998869, 10000158, 99987241, 999931170
OFFSET
1,2
COMMENTS
It is not known if e is normal, but the distribution of decimal digits found for the first 10^n digits of e shows no statistically significant departure from a uniform distribution.
LINKS
Eric Weisstein's World of Mathematics, e Digits.
MAPLE
a:=proc(n)
local digits, EXP1, C, i;
digits:=10^n+100;
EXP1:=convert(frac(evalf[digits](exp(1))), string)[2..digits-99];
C:=0;
for i from 1 to length(EXP1) do
if EXP1[i]="6" then C:=C+1; fi;
od;
return(C);
end;
MATHEMATICA
Table[Count[IntegerDigits[IntegerPart[(E - 2)*10^10^n]], 6], {n, 7}] (* Robert Price, Apr 07 2019 *)
KEYWORD
nonn,base,more
AUTHOR
Martin Renner, Dec 24 2018
STATUS
approved