OFFSET
1,1
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1)=8 as 8=2*2*2, that is 8 is a composite integer and having 3 (an odd number) prime factors.
MATHEMATICA
fQ[n_] := Block[{p = Plus @@ Last /@ FactorInteger@n}, OddQ[p] && p > 1]; Select[ Range@200, fQ[ # ] &] (* Robert G. Wilson v, Jan 04 2006 *)
Select[Range[200], CompositeQ[#]&&OddQ[PrimeOmega[#]]&] (* Harvey P. Dale, Oct 14 2019 *)
PROG
(PARI) is(n)=!isprime(n) && bigomega(n)%2 \\ Charles R Greathouse IV, Sep 17 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Patrick De Geest, Jun 15 1998
STATUS
approved