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!)
A067813 Start of a record-breaking run of consecutive integers with a number of prime factors (counted with multiplicity) equal to 3. 13
8, 27, 170, 602, 2522, 211673 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
602 is the first number having 4 and 5 consecutive integers with 3 prime factors. - T. D. Noe, Mar 19 2014
LINKS
EXAMPLE
a(4)=602 because 602 is the start of a record breaking run of 5 consecutive integers (602 to 606) each having 3 prime factors; i.e. bigomega(n)=A001222(n)=3 for n = 602, ..., 606.
MATHEMATICA
bigomega[n_] := Plus@@Last/@FactorInteger[n]; For[n=1; m=l=0, True, n++, If[bigomega[n]==3, l++, If[l>m, m=l; Print[n-l, " ", l]]; l=0]]
Module[{nn=8, po}, po=PrimeOmega[Range[5000000]]; Flatten[Table[ SequencePosition[ po, PadRight[{}, n, 3], 1], {n, nn}], 1]][[All, 1]]//Union (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 14 2019 *)
PROG
(PARI) show(lim)=my(was, r, ct); forfactored(n=2, lim\1+1, is=vecsum(n[2][, 2])==3; if(is, ct++; if(ct>r, r=ct; print(r" "n[1]-r+1)), ct=0)) \\ Charles R Greathouse IV, Jun 26 2019
CROSSREFS
Sequence in context: A343318 A165048 A066963 * A304769 A118720 A197620
KEYWORD
fini,full,nonn
AUTHOR
Shyam Sunder Gupta, Feb 07 2002
EXTENSIONS
Edited by Dean Hickerson, Jul 31 2002
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 12 19:25 EDT 2024. Contains 372494 sequences. (Running on oeis4.)