OFFSET
1,1
FORMULA
a(n) = (A063640(n) - 1)/2. - Hugo Pfoertner, Dec 05 2023
PROG
(Python)
import sympy as sp
l = []
for i in range(620):
if (sum(sp.factorint(i).values()) == 2) and sp.isprime(2*i+1):
l.append(i)
print(l)
(PARI) isok(s) = (bigomega(s)==2) && isprime(2*s+1); \\ Michel Marcus, Dec 06 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexandre Herrera, Dec 05 2023
STATUS
approved