The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A168638 Number of distinct prime divisors of n is 2 or 3. 2
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, 106 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) ~ A033992(n) ~ 2n log n / (log log n)^2. - Charles R Greathouse IV, Jul 28 2016
EXAMPLE
2310=2*3*5*7*11 has 5 prime factors, hence it is not here, but it is part of A064040.
MATHEMATICA
Select[Range[106], MemberQ[{2, 3}, PrimeNu[#]]&] (* Jayanta Basu, Jun 04 2013 *)
PROG
(PARI) is(n)=my(o=omega(n)); o==2 || o==3 \\ Charles R Greathouse IV, Jul 28 2016
CROSSREFS
Sequence in context: A325265 A105642 A064040 * A024619 A361102 A335080
KEYWORD
nonn
AUTHOR
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 May 28 04:02 EDT 2024. Contains 372900 sequences. (Running on oeis4.)