login

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”).

A176847
The odd non-semiprime numbers.
1
1, 3, 5, 7, 11, 13, 17, 19, 23, 27, 29, 31, 37, 41, 43, 45, 47, 53, 59, 61, 63, 67, 71, 73, 75, 79, 81, 83, 89, 97, 99, 101, 103, 105, 107, 109, 113, 117, 125, 127, 131, 135, 137, 139, 147, 149, 151, 153, 157, 163, 165, 167, 171, 173, 175, 179, 181, 189, 191, 193, 195
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[1000], ! PrimeOmega[#] == 2 && OddQ[#] &] (* G. C. Greubel, Sep 22 2018 *)
PROG
(PARI) s=[]; for(n=1, 1000, if(n%2==1 && bigomega(n)!=2, s=concat(s, n))); s \\ Colin Barker, Jun 28 2014
(PARI) concat( vector( 200, n, if( n%2 && bigomega(n)!=2, [n], []))) /* Michael Somos, Jun 28 2014 */
CROSSREFS
Cf. A100959.
Sequence in context: A109860 A100392 A309203 * A067019 A132106 A242393
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Apr 27 2010, May 01 2010
EXTENSIONS
Corrected (115 removed) by R. J. Mathar, May 01 2010
STATUS
approved