OFFSET
1,1
COMMENTS
Conjecture: the intervals (n^2,(n+1)^2) that do not contain at least one such pair are sparse as n gets large.
There are no other terms up to 2*10^7. - Michel Marcus, Aug 15 2022
LINKS
Eric Weisstein's World of Mathematics, Twin Primes
EXAMPLE
For m = 2,3,4, we have prime pairs (5,7), (11,13), (17,23), so these m are not terms.
PROG
(PARI) isok(n) = {for (k=1, n-1, if (isprime(n^2+n+k) && isprime(n^2+n-k), return (0)); ); return (1); } \\ Michel Marcus, Aug 31 2013
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Daniel Tisdale, Sep 19 2008
EXTENSIONS
Name edited by Michel Marcus, Aug 15 2022
STATUS
approved