OFFSET
1,1
LINKS
Karl-Heinz Hofmann, Table of n, a(n) for n = 1..10000
EXAMPLE
a(2) = 91 = 7 * 13 and {7, 13} are not in A005384.
MATHEMATICA
Select[Range[1000], CompositeQ[#] && AllTrue[FactorInteger[#][[;; , 1]], !PrimeQ[2*#1 + 1] &] &] (* Amiram Eldar, Feb 12 2022 *)
PROG
(Python)
from sympy import primefactors, isprime
print([n for n in range(2, 1044) if not isprime(n) and all(not isprime(p*2+1) for p in primefactors(n))])
(PARI) isok(m) = if ((m>1) && !isprime(m), !#select(x->isprime(2*x+1), factor(m)[, 1])); \\ Michel Marcus, Feb 11 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Karl-Heinz Hofmann, Feb 11 2022
STATUS
approved