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!)
A033992 Numbers that are divisible by exactly three different primes. 36

%I #59 Apr 22 2024 08:38:16

%S 30,42,60,66,70,78,84,90,102,105,110,114,120,126,130,132,138,140,150,

%T 154,156,165,168,170,174,180,182,186,190,195,198,204,220,222,228,230,

%U 231,234,238,240,246,252,255,258,260,264,266,270,273,276,280,282,285,286

%N Numbers that are divisible by exactly three different primes.

%C This sequence and A000977 are identical through their first 32 terms, but A000977(33) = 210. [Comment edited by _Jon E. Schoenfield_, Dec 30 2014]

%H T. D. Noe, <a href="/A033992/b033992.txt">Table of n, a(n) for n = 1..1000</a>

%H Hans Montanus and Ron Westdijk, <a href="https://greenbluemath.nl/wp-content/uploads/2024/03/Cellular-Automation-and-Binomials.pdf">Cellular Automation and Binomials</a>, Green Blue Mathematics (2022), p. 90.

%F omega(a(n)) = A001221(a(n)) = 3. - _Jonathan Vos Post_, Sep 20 2005

%F a(n) ~ 2n log n / (log log n)^2. - _Charles R Greathouse IV_, Jul 28 2016

%e 220 = 2*2*5*11 is here but 210 = 2*3*5*7 is not; compare A000977.

%p A033992 := proc(n)

%p if (nops(numtheory[factorset](n)) = 3) then

%p RETURN(n)

%p fi: end: seq(A033992(n), n=1..500); # _Jani Melik_, Feb 24 2011

%t Select[Range[300],PrimeNu[#]==3&] (* _Harvey P. Dale_, May 01 2013 *)

%o (Haskell)

%o a033992 n = a033992_list !! (n-1)

%o a033992_list = filter ((== 3) . a001221) [1..]

%o -- _Reinhard Zumkeller_, May 03 2013

%o (PARI) is(n)=omega(n)==3 \\ _Charles R Greathouse IV_, Apr 28 2015

%o (PARI) A246655(lim)=my(v=List(primes([2,lim\=1]))); for(e=2,logint(lim,2), forprime(p=2,sqrtnint(lim,e), listput(v,p^e))); Set(v)

%o list(lim,pr=3)=if(pr==1, return(A246655(lim))); my(v=List(),pr1=pr-1,mx=prod(i=1,pr1,prime(i))); forprime(p=prime(pr),lim\mx, my(u=list(lim\p,pr1)); for(i=1,#u,listput(v,p*u[i]))); Set(v) \\ _Charles R Greathouse IV_, Feb 03 2023

%Y A225228 is a subsequence.

%Y Row 3 of A125666.

%Y Cf. A000977, A000961, A001221, A112802.

%K nonn,changed

%O 1,1

%A _Labos Elemer_

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 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)