login
Primes found in decimal expansion of 1/e.
0

%I #6 Mar 30 2012 18:35:52

%S 3,367,36787,367879,

%T 367879441171442321595523770161460867445811131031767834507

%N Primes found in decimal expansion of 1/e.

%C Primes found in A068985.

%C The next prime a(6)= 3678794411714...49545323 has 236 digits.

%e 1/e=0.367879441171442321595523... so a(1)=3 ; a(2)=367.

%p Digits := 100; n0 := evalf(1/exp(1)); for i from 1 to 500 do x := trunc(10^i*n0):

%p if isprime(x) then printf(`%d, `, x): fi: od:

%Y Cf. A001113 A068985.

%K nonn,base

%O 1,1

%A _Michel Lagneau_, Nov 24 2010