login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A322718 Number of times the digit 3 appears in the first 10^n decimal digits of Euler's number e = exp(1), counting starts after the decimal point. 9

%I #10 Apr 08 2019 03:11:58

%S 0,8,109,1008,10035,100228,1001716,10005176,100002498,999982936

%N Number of times the digit 3 appears in the first 10^n decimal digits of Euler's number e = exp(1), counting starts after the decimal point.

%C 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.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/eDigits.html">e Digits</a>.

%p a:=proc(n)

%p local digits, EXP1, C, i;

%p digits:=10^n+100;

%p EXP1:=convert(frac(evalf[digits](exp(1))), string)[2..digits-99];

%p C:=0;

%p for i from 1 to length(EXP1) do

%p if EXP1[i]="3" then C:=C+1; fi;

%p od;

%p return(C);

%p end;

%t Table[Count[IntegerDigits[IntegerPart[(E - 2)*10^10^n]], 3], {n, 7}] (* _Robert Price_, Apr 07 2019 *)

%Y Cf. A001113, A099294, A322644, A322715, A322716, A322717, A322719, A322720, A322721, A322722, A322723, A322724.

%K nonn,base,more

%O 1,2

%A _Martin Renner_, Dec 24 2018

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 20:05 EDT 2024. Contains 371254 sequences. (Running on oeis4.)