OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = 2*A111350(n) + 1.
MATHEMATICA
Select[2Range[100]^2 + 1, Plus @@ Last /@ FactorInteger[ # ] == 2 &] (* Ray Chandler, Nov 10 2005 *)
Select[2*Range[100]^2+1, PrimeOmega[#]==2&] (* Harvey P. Dale, May 07 2013 *)
PROG
(Magma) IsSemiprime:=func<t | &+[d[2]: d in Factorization(t)] eq 2>; [s: t in [2..100] | IsSemiprime(s) where s is 2*t^2 + 1]; // Bruno Berselli, Sep 22 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, Oct 29 2005
EXTENSIONS
Edited and extended by Ray Chandler, Nov 10 2005
Offset corrected by Arkadiusz Wesolowski, Aug 09 2011
STATUS
approved