A198174
Primes from merging of 10 successive digits in decimal expansion of Pi, in the order of appearance.
Original entry on oeis.org
5926535897, 4197169399, 1693993751, 7510582097, 4825342117, 5822317253, 2841027019, 8521105559, 8954930381, 4756482337, 2712019091, 5432664821, 3266482133, 6072602491, 5588174881, 8815209209, 6282925409, 2540917153, 5903600113, 8204665213, 3841469519
Offset: 1
-
With[{len=10},Select[FromDigits/@Partition[RealDigits[Pi,10,1000][[1]], len,1],IntegerLength[#]==len&&PrimeQ[#]&]]
-
A198174(n, x=Pi, m=10, silent=0)={m=10^m; for(k=1, default(realprecision), (isprime(p=x\.1^k%m)&&p*10>m)||next; silent||print1(p", "); n--||return(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
A105383
Primes between 10^9 and 2^31 obtained from merging 10 successive digits in the decimal expansion of zeta(2) = Pi^2/6, taken modulo 2^32.
Original entry on oeis.org
1902619757, 1896233719, 2025479923, 1979084773, 1834487573, 2069040007, 1357689757, 1422433483, 1421193281, 1865610371, 1664088953, 1716574481, 1524418627, 2018846497, 2028620161, 1384352219, 1828868887, 1485949159
Offset: 1
Andrew G. West (WestA(AT)wlu.edu), Apr 03 2005
From _Jianing Song_, Mar 14 2021: (Start)
1902619757 is a term since 1902619757 + 2^32 = 6197587053 is the concatenation of A013661(92) to A013661(101).
1896233719 is a term since it is the concatenation of A013661(108) to A013661(117). (End)
Cf.
A013661 (decimal expansion of Pi^2/6).
Cf.
A103752 (a similar erroneous version).
-
A105383(n, x=Pi^2/6, m=10, silent=0)={m=10^m; for(k=1, default(realprecision), (isprime(p=x\.1^k%m%2^32)&&p*10>m&&p<2^31)||next; silent||print1(p", "); n--||return(p))} \\ Use e.g. \p999 to set precision to 999 digits. - M. F. Hasler, Nov 01 2014
Showing 1-2 of 2 results.
Comments