login
A089488
First occurrence where (p-q)/(q-3), p and q are primes.
0
3, 3, 7, 3, 3, 3, 3, 3, 7, 3, 7, 3, 3, 43, 3, 7, 19, 7, 3, 3, 7, 3, 3, 7, 19, 3, 13, 3, 3, 31, 13, 3, 3, 7, 3, 3, 3, 3, 13, 7, 7, 13, 3, 7, 3, 19, 3, 19, 3, 7, 7, 3, 7, 7, 19, 19, 3, 3, 13, 7, 19, 3, 19, 13, 19, 7, 3, 3, 3, 7, 3, 13, 3, 7, 3, 3, 7, 19, 3, 3, 13, 3, 13, 19, 19, 3, 13, 7, 3, 3, 3, 3, 3
OFFSET
5,1
PROG
(PARI) \ r is the occurrence desired 1=first, 2=second etc. \d is the amount we take from q diff2sqp2(n, r, d) = { forprime(q=d+1, n, c=0; forprime(p=q+1, n, y=(p-q)/(q-d); if(y==floor(y), if(isprime(y), c++; if(c==r, print1(y", "); break)) ) ) ) }
CROSSREFS
Sequence in context: A256784 A324543 A333339 * A367034 A366982 A366973
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Dec 28 2003
STATUS
approved