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!)
A090202 a(n) = p-th digit of e where p = n-th prime. 0

%I #6 Nov 21 2013 12:48:16

%S 7,1,2,1,4,9,2,5,2,3,2,7,2,7,6,5,9,7,4,6,0,7,5,1,6,4,7,3,1,0,3,6,5,2,

%T 2,0,0,2,6,4,2,3,1,5,0,9,7,9,9,4,1,2,4,0,8,4,8,3,5,4,7,7,2,8,8,2,0,4,

%U 2,7,7,2,8,7,7,2,9,0,6,9,6,7,2,2,4,0,6,5,9,9,9,9,6,2,3,7,2,5,6,3,3,3,4,8,0

%N a(n) = p-th digit of e where p = n-th prime.

%C The prime-th digits of e.

%C Is the number 7.12149252327276... irrational, transcendental?

%e The 5th prime is 11. The 11th digit of e is 4, the 5th term in the sequence.

%t With[{nn=600},Pick[RealDigits[E,10,nn][[1]],If[PrimeQ[#],1,0]&/@ Range[ nn],1]] (* _Harvey P. Dale_, Apr 22 2012 *)

%o (PARI) \primeth.gp primeth(n) = { default(realprecision,1000); p=Str(exp(1)*10^999); default(realprecision,28); forprime(x=2,n, print1(mid(p,x,1)",") ) } mid(str,s,n) = { v =""; tmp = Vec(str); ln=length(tmp); for(x=s,s+n-1, v=concat(v,tmp[x]); ); return(v) }

%K base,easy,nonn

%O 2,1

%A _Cino Hilliard_, Jan 22 2004

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 May 3 16:44 EDT 2024. Contains 372221 sequences. (Running on oeis4.)