OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
Eric Weisstein's World of Mathematics, Semiprime
MATHEMATICA
ssp[n_]:=Module[{k=n+1}, While[PrimeOmega[k]!=2, k++]; k]; ssp/@Prime[Range[ 60]] (* Harvey P. Dale, Aug 18 2012 *)
PROG
(PARI) a(n) = {sp = prime(n)+1; while(bigomega(sp) != 2, sp++); sp; } \\ Michel Marcus, Mar 04 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jan 08 2005
STATUS
approved