OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1)=6 because semiprime=6=3*2 and (3+1)/(2-1)=4=semiprime.
MATHEMATICA
spQ[n_]:=Module[{fs=Transpose[FactorInteger[n]][[1]]}, PrimeOmega[(Last[fs] + 1)/(First[fs] - 1)] == 2]; Select[Select[Range[1000], PrimeOmega[#] == 2&], spQ] (* Vincenzo Librandi, Sep 22 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jun 01 2010
EXTENSIONS
Corrected (339, 515, 755 inserted) by R. J. Mathar, Jun 04 2010
STATUS
approved