login
This site is supported by donations to The OEIS Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089502 Fifth occurrence where (p-q)/(q-5), p and q are primes. 0
17, 13, 17, 13, 17, 41, 31, 53, 53, 17, 71, 13, 13, 23, 41, 107, 17, 41, 71, 17, 13, 23, 23, 53, 13, 83, 47, 17, 31, 23, 47, 47, 11, 31, 31, 41, 41, 41, 23, 41, 13, 31, 23, 23, 23, 17, 13, 13, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET

7,1

LINKS

Table of n, a(n) for n=7..55.

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: A217893 A063518 A168250 * A279058 A195534 A128158

Adjacent sequences:  A089499 A089500 A089501 * A089503 A089504 A089505

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard, Dec 28 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 17 10:21 EST 2019. Contains 319218 sequences. (Running on oeis4.)