OFFSET
1,1
COMMENTS
Cf. A198018; the only difference is that here we list the "new primes" by increasing size (for a given subsequence of A000796).
Considering the first 1, 2, 3, 4,.... digits of the decimal expansion 3.14159... of Pi, record the primes that have not occurred earlier.
Sequence A198187 lists "duplicate" primes multiple times, each time they occur anew ending in another decimal place. - M. F. Hasler, Sep 01 2013
EXAMPLE
In Pi = 3... we have the prime a(1)=3.
In Pi = 3.1.... we have the prime a(2)=31.
In Pi = 3.14... we have no new prime.
In Pi = 3.141.... we have the prime a(3)=41.
In Pi = 3.1415.... we have the new prime a(5)=5.
In Pi = 3.14159.... we have the new primes (listed in increasing order) a(6)=59, a(7)=4159, a(8)=14159 and a(9)=314159. [M. F. Hasler, Sep 01 2013]
PROG
(PARI) {t=Pi; u=[]; for(i=0, precision(t), for(k=1, i+1, ispseudoprime(p=t\.1^i%10^k)& !setsearch(u, p)& (u=setunion(u, Set(p)))&print1(p", ")))}
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Oct 20 2011
STATUS
approved