OFFSET
1,1
FORMULA
a(n) seems to be asymptotic to n*log(n) and a(n)<prime(n) for n>3.
MATHEMATICA
plkQ[n_]:=Module[{k=2}, While[!Divisible[n+k, n-k], k++]; PrimeQ[k]]; Select[ Range[ 4, 250], plkQ] (* Harvey P. Dale, Dec 29 2018 *)
PROG
(PARI) f(m) = if (m>1, my(k=1); while ((m+k) % (m-k), k++); k); \\ A075861
isok(m) = isprime(f(m)); \\ Michel Marcus, Feb 19 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Oct 15 2002
STATUS
approved