Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #12 Sep 23 2018 00:22:07
%S 1,3,5,7,11,13,17,19,23,27,29,31,37,41,43,45,47,53,59,61,63,67,71,73,
%T 75,79,81,83,89,97,99,101,103,105,107,109,113,117,125,127,131,135,137,
%U 139,147,149,151,153,157,163,165,167,171,173,175,179,181,189,191,193,195
%N The odd non-semiprime numbers.
%H G. C. Greubel, <a href="/A176847/b176847.txt">Table of n, a(n) for n = 1..10000</a>
%t Select[Range[1000], ! PrimeOmega[#] == 2 && OddQ[#] &] (* _G. C. Greubel_, Sep 22 2018 *)
%o (PARI) s=[]; for(n=1, 1000, if(n%2==1 && bigomega(n)!=2, s=concat(s, n))); s \\ _Colin Barker_, Jun 28 2014
%o (PARI) concat( vector( 200, n, if( n%2 && bigomega(n)!=2, [n], []))) /* _Michael Somos_, Jun 28 2014 */
%Y Cf. A100959.
%K nonn
%O 1,2
%A _Juri-Stepan Gerasimov_, Apr 27 2010, May 01 2010
%E Corrected (115 removed) by _R. J. Mathar_, May 01 2010