OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
309 is in the sequence because 309 is semiprime (309 = 3 * 103) and 309^2 + 309 + 1 = 95791 is prime.
MATHEMATICA
Select[Range[2000], PrimeOmega[#]==2&&PrimeQ[#^2+#+1]&] (* Harvey P. Dale, Feb 26 2013 *)
PROG
(PARI) issemi(n)=bigomega(n)==2
is(n)=isprime(n^2+n+1) && issemi(n) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Dec 19 2012
STATUS
approved