OFFSET
1,1
EXAMPLE
462 is a term because 462=2*3*7*11 is the product of four distinct primes and 462 = (461+463)/2.
714 is a term because 714=2*3*7*17 is the product of four distinct primes and 714 = (709+719)/2.
210 is not a term because although 210=2*3*5*7 is the product of four distinct primes 210 != (199 + 211)/2.
MATHEMATICA
Select[Range[5200], 2*# == Plus @@ NextPrime[#, {-1, 1}] && FactorInteger[#][[;; , 2]] == {1, 1, 1, 1} &] (* Amiram Eldar, Mar 17 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Massimo Kofler, Mar 17 2025
STATUS
approved
