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”).

A132170
Primes of the form (3pq - q - 6)/(3p + 1), where p and q are prime.
1
5, 7, 11, 13, 17, 29, 37, 47, 53, 97, 101, 107, 109, 127, 137, 149, 151, 157, 179, 181, 197, 257, 263, 269, 277, 293, 307, 313, 317, 337, 347, 349, 373, 389, 397, 457, 461, 487, 509, 541, 547, 557, 569, 571, 577, 587, 599, 607, 613, 641, 643, 647, 661, 673
OFFSET
1,1
COMMENTS
5/7 q - 1 < a(n) < q and p <= (2q + 5)/3, so membership can be tested in finite time.
EXAMPLE
a(1) = (3*3*7 - 7 - 6)/(3*3 + 1) = 5.
a(2) = (3*2*11 - 11 - 6)/(3*2 + 1) = 7.
PROG
(PARI) /* Lists the members with q <= lim */ list(lim)=my(v=[], t); forprime(q=2, lim, forprime(p=2, (2*q+5)\3, t=q-(2*q+6)/(3*p+1); if(denominator(t)==1&&isprime(t), v=concat(v, t)))); vecsort(v, , 8)
CROSSREFS
Sequence in context: A346990 A038958 A109416 * A106309 A371566 A227576
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected and rewritten by Charles R Greathouse IV, Mar 25 2010
STATUS
approved