OFFSET
1,1
COMMENTS
Numbers m such that bigomega(m-1) >= 4 and bigomega(m+1) >= 4.
EXAMPLE
55 is in the sequence because 55-1 = 2*3^3 and 55+1 = 2^3*7 are both products of at least 4 primes.
71 is not in the sequence because 71-1 = 2*5*7.
MAPLE
q:= n-> andmap(x-> numtheory[bigomega](x)>3, [n-1, n+1]):
select(q, [$1..991])[]; # Alois P. Heinz, Jun 12 2025
PROG
(Python)
from sympy import primeomega
def ok(n): return n>1 and primeomega(n-1)>3 and primeomega(n+1)>3
print(list(filter(ok, range(520))))
(PARI) isok(m) = (m>1) && (bigomega(m-1)>3) && (bigomega(m+1)>3); \\ Michel Marcus, Jun 12 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Sinuhe Perea, May 27 2025
STATUS
approved
