OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
21 is in the sequence, because 21 = 3*7 is a semiprime with omega(21) = 2 and phi(21) + 1 = 2*6 + 1 = 13 is a prime.
55 is in the sequence, because 55 = 5*11 is a semiprime with omega(55) = 2 and phi(55) + 1 = 4*10 + 1 = 41 is a prime.
MATHEMATICA
Select[Range[400], SquareFreeQ[#]&&PrimeOmega[#]==2&&PrimeQ[EulerPhi[ #]+ 1]&] (* Harvey P. Dale, Aug 08 2020 *)
PROG
(PARI) is(n)=my(f=factor(n)); f[, 2]==[1, 1]~ && isprime((f[1, 1]-1)*(f[2, 1]-1)+1) \\ Charles R Greathouse IV, Jul 21 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Debapriyay Mukhopadhyay, Jul 13 2016
STATUS
approved