login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A064040 Integers whose number of distinct prime divisors is prime. 4
6, 10, 12, 14, 15, 18, 20, 21, 22, 24, 26, 28, 30, 33, 34, 35, 36, 38, 39, 40, 42, 44, 45, 46, 48, 50, 51, 52, 54, 55, 56, 57, 58, 60, 62, 63, 65, 66, 68, 69, 70, 72, 74, 75, 76, 77, 78, 80, 82, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 95, 96, 98, 99, 100, 102, 104, 105 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For all terms below 210 this sequence and A024619 are identical.
LINKS
EXAMPLE
210 = 2*3*5*7 has 4 prime factors, hence it is not here, but it is part of A024619.
MAPLE
q:= n-> isprime(nops(ifactors(n)[2])):
select(q, [$1..210])[]; # Alois P. Heinz, Apr 18 2024
MATHEMATICA
Select[Range[200], PrimeQ[PrimeNu[#]] &] (* Paolo Xausa, Mar 28 2024 *)
PROG
(PARI) n=0; for (m=1, 10^9, if (isprime(omega(m)), write("b064040.txt", n++, " ", m); if (n==1000, break))) \\ Harry J. Smith, Sep 06 2009
(PARI) is(n)=isprime(omega(n)) \\ Charles R Greathouse IV, Sep 18 2015
CROSSREFS
Sequence in context: A348718 A325265 A105642 * A168638 A024619 A361102
KEYWORD
nonn,easy,changed
AUTHOR
Lior Manor, Aug 23 2001
EXTENSIONS
Edited by Charles R Greathouse IV, Mar 18 2010
Name edited by Michel Marcus, Oct 16 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)