login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A098095
Primes of the form p^2 + pq + q.
0
13, 17, 19, 29, 37, 43, 53, 61, 67, 73, 89, 97, 101, 103, 127, 137, 139, 157, 163, 173, 181, 197, 199, 211, 223, 233, 239, 241, 271, 277, 281, 283, 293, 307, 313, 331, 349, 379, 397, 401, 421, 457, 461, 463, 487, 491, 499, 521, 523, 541, 547, 557, 577, 601
OFFSET
1,1
PROG
(PARI) {z=605; v=[]; p=2; while(p^2+p*2+2<z, q=2; while((n=p^2+p*q+q)<z, if(isprime(n), v=concat(v, n)); q=nextprime(q+1)); p=nextprime(p+1)); v=vecsort(v); m=0; for(j=1, length(v), if(m<v[j], m=v[j]; print1(m, ", ")))} \\ Klaus Brockhaus, Sep 15 2004
CROSSREFS
Sequence in context: A319504 A339912 A099184 * A249953 A180530 A059500
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, Sep 14 2004
EXTENSIONS
Corrected and extended by Klaus Brockhaus, Sep 15 2004
STATUS
approved