A067813
Start of a record-breaking run of consecutive integers with a number of prime factors (counted with multiplicity) equal to 3.
Original entry on oeis.org
8, 27, 170, 602, 2522, 211673
Offset: 1
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.
-
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 *)
-
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
A067820
The start of a record-breaking run of consecutive integers with a number of prime factors (counted with multiplicity) equal to 5.
Original entry on oeis.org
32, 944, 15470, 57967, 632148, 14845324, 69921004, 888781058, 2674685524, 10077383364, 21117216104, 393370860205, 3157222675953, 5509463413255, 24819420480104, 361385490681003, 441826936079342
Offset: 1
a(3)=15470 because 15470 is the start of a record breaking run of 3 consecutive integers (15470 to 15472) each having 5 prime factors; i.e. bigomega(n)=A001222(n)=5 for n = 15470, ..., 15472.
-
bigomega[n_] := Plus@@Last/@FactorInteger[n]; For[n=1; m=l=0, True, n++, If[bigomega[n]==5, l++, If[l>m, m=l; Print[n-l, " ", l]]; l=0]]
Table[SequencePosition[PrimeOmega[Range[15*10^6]],PadRight[{},n,5],1][[All,1]],{n,6}]//Flatten (* The program generates the first six terms of the sequence. *) (* Harvey P. Dale, Sep 03 2022 *)
A067821
The start of a record-breaking run of consecutive integers with a number of prime factors (counted with multiplicity) equal to 6.
Original entry on oeis.org
64, 5264, 33614, 8706123, 101905622, 4843161124, 25189114374, 412352139170, 1122875553872, 28099912628847, 78661670985666
Offset: 1
a(3)=33614 because 33614 is the start of a record breaking run of 3 consecutive integers (33614 to 33616) each having 6 prime factors; i.e., bigomega(n)=A001222(n)=6 for n = 33614, ..., 33616.
-
bigomega[n_] := Plus@@Last/@FactorInteger[n]; For[n=1; m=l=0, True, n++, If[bigomega[n]==6, l++, If[l>m, m=l; Print[n-l, " ", l]]; l=0]]
A067822
The start of a record-breaking run of consecutive integers with a number of prime factors equal to 7.
Original entry on oeis.org
128, 29888, 3145310, 296299374, 15605704374, 242576758750, 1981162639374, 126460514648223
Offset: 1
a(3) = 3145310 because 3145310 is the start of a record breaking run of 3 consecutive integers (3145310 to 3145312) each having 7 prime factors; i.e., bigomega(n) = A001222(n) = 7 for n = 3145310, ..., 3145312.
-
bigomega[n_] := Plus@@Last/@FactorInteger[n]; For[n=1; m=l=0, True, n++, If[bigomega[n]==7, l++, If[l>m, m=l; Print[n-l, " ", l]]; l=0]]
A117969
Start of least run of maximal length of consecutive n-almost primes.
Original entry on oeis.org
2, 33, 211673, 97524222465
Offset: 1
a(2) = 33 because 33, 34, 35 is the least run of three consecutive 2-almost primes (semiprimes).
Showing 1-5 of 5 results.
Comments