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

A089553
Seventh occurrence where (p-q)/(q-7), p and q are primes.
0
47, 43, 53, 37, 113, 101, 29, 29, 173, 61, 89, 173, 43, 43, 137, 71, 59, 59, 29, 47, 71, 29, 53, 47, 59, 43, 53, 23
OFFSET
7,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: A033367 A052352 A265673 * A165868 A291513 A345502
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Dec 28 2003
STATUS
approved