|
|
A090202
|
|
a(n) = p-th digit of e where p = n-th prime.
|
|
0
|
|
|
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, 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, 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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
2,1
|
|
COMMENTS
|
The prime-th digits of e.
Is the number 7.12149252327276... irrational, transcendental?
|
|
LINKS
|
|
|
EXAMPLE
|
The 5th prime is 11. The 11th digit of e is 4, the 5th term in the sequence.
|
|
MATHEMATICA
|
With[{nn=600}, Pick[RealDigits[E, 10, nn][[1]], If[PrimeQ[#], 1, 0]&/@ Range[ nn], 1]] (* Harvey P. Dale, Apr 22 2012 *)
|
|
PROG
|
(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) }
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|