OFFSET
1,1
COMMENTS
FORMULA
Define twinl#(n)as the product of the first n lesser twin primes. Then if twinl#+4 is prime, list it.
EXAMPLE
twinl#(2) = 3*5=15. 15+4 = 19 prime and the second term in the table.
PROG
(PARI) twinl(n) = /* The n-th lower twin prime */ { local(c, x); c=0; x=1; while(c<n, if(isprime(prime(x)+2), c++); x++; ); return(prime(x-1)); }
twiprimesl(n, a) = { local(pr, x, y, j); for(j=1, n, pr=1; for(x=1, j, pr*=twinl(x); ); y=pr+a; if(ispseudoprime(y), print1(y", ") ) ); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, May 08 2007
STATUS
approved