20130708, 04:31  #1 
May 2004
2^{2}·79 Posts 
Program requested
In pari {p(n)=isprime(x^2+1)} will generate a number of primes indicated by 1 in a given interval. How do we count these? Request for a counting program.
Example what is the number of primes generated in (n=10,111)? A.K. Devaraj 
20130708, 04:38  #2 
Aug 2006
2×29×103 Posts 
I think what you're asking for is
Code:
sum(n=10,111,isprime(n^2+1)) 
20130708, 09:29  #3 
May 2004
100111100_{2} Posts 
Request for a program

20130708, 12:01  #4 
May 2004
2^{2}·79 Posts 

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Prime95 defaults  your input requested  Prime95  PrimeNet  25  20160325 19:32 
Rigour Requested  davieddy  Math  0  20130425 11:47 
Search engine feedback requested.  Xyzzy  Forum Feedback  2  20070528 04:22 
ecm benchmarks requested for Stage 1 and 2  jasong  GMPECM  0  20070419 02:25 
Iterations requested for factoring...  guido72  Software  16  20020909 21:12 