A104851 Primes from merging of 10 successive digits in decimal expansion of e.
7427466391, 7413596629, 6059563073, 3490763233, 2988075319, 1573834187, 7021540891, 5408914993, 6480016847, 9920695517, 1838606261, 6062613313, 3845830007, 1692836819, 4425056953, 2505695369, 5490598793, 1782154249, 8215424999, 9229576351, 9519366803
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Crossrefs
Programs
-
Mathematica
With[{de=FromDigits/@Partition[RealDigits[E,10,10000][[1]],10,1]}, Select[de,#>10^9&&PrimeQ[#]&]] (* Harvey P. Dale, Feb 05 2012 *)
-
PARI
list_A104851(x=exp(1), m=10)=m=10^m; for(k=1, default(realprecision), isprime(p=x\.1^k%m)&&p*10>m&&print1(p", ")) \\ The optional arguments can be used to produce other sequences of this series (cf. Crossrefs). Use e.g. \p999 to set precision to 999 digits. - M. F. Hasler, Nov 01 2014
Extensions
Corrected by Harvey P. Dale, Feb 05 2012
Offset changed from 0 to 1 by Vincenzo Librandi, Apr 21 2013
Comments