OFFSET
1,2
COMMENTS
Conjecture: this sequence is infinite.
EXAMPLE
1 is this sequence because 27*1^3 + 3*1 = 30 has 2 prime neighbors 29 and 31.
MATHEMATICA
Select[Range[1500], And @@ PrimeQ[27*#^3 + 3*# + {-1, 1}] &] (* Amiram Eldar, Mar 26 2024 *)
PROG
(Magma) [m: m in [1..1500] | IsPrime(27*m^3+3*m-1) and IsPrime(27*m^3+3*m+1)];
CROSSREFS
Numbers m such that (n*m)^n + n*m has 2 prime neighbors: A040040 (n=1); no sequence (n=2) in OEIS; this sequence (n=3); no sequence (n=4) in OEIS.
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Mar 25 2024
STATUS
approved