OFFSET
1,1
COMMENTS
It seems that the proportion of primes in the sequence, among all primes, increases with larger terms (perhaps to the point where almost all primes are terms?).
LINKS
James C. McMahon, Table of n, a(n) for n = 1..10000
EXAMPLE
prime(16) = 53 is a term since (53+59) mod (53-47) != 0.
prime(3) = 5 is not a term since (5+7) mod (5-3) = 0.
MATHEMATICA
Select[Prime[Range[2, 188]], Mod[#+NextPrime[#], (#-NextPrime[#, -1])]!=0&] (* James C. McMahon, Feb 23 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Najeem Ziauddin, Feb 09 2025
STATUS
approved