OFFSET
1,1
MATHEMATICA
npQ[n_]:=Module[{p=NextPrime[n], p1, n1=NextPrime[Sqrt[n]]}, p1= NextPrime[ Sqrt[p]]; p-n==p1-n1]; Select[Range[156*10^4], npQ] (* Harvey P. Dale, Dec 19 2021 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
STATUS
approved