cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-4 of 4 results.

A068069 a(n) is the least k which is the start of n consecutive integers each with a different number, 1 through n, of distinct prime factors.

Original entry on oeis.org

1, 2, 5, 28, 417, 14322, 461890, 46908264, 7362724275, 4418626443462
Offset: 0

Views

Author

Robert G. Wilson v, Feb 20 2002

Keywords

Comments

a(n) >= n!. If the canonical factorization of k is the product of p^e(p) over primes, then the number of distinct number of prime factors is simply the number of p's.

Examples

			a(1) = 2 because 2 has the single prime factor 2; a(2) = 5 because 5 = 5^1 & 6 = 2*3 which have 1 & 2 prime factors respectively; a(3) = 28 because 28 = 2^2*7^1, 29 = 29^1 & 30 = 2*3*5 which have 2, 1 & 3 prime factors respectively; a(4) = 417 because 417 = 3*139, 418 = 2*11*19, 419 = 419^1 & 420 = 2^2*3*5*7 which have 2, 3, 1 & 4 prime factors (distinct) respectively and this represents a record-breaking number.
		

Crossrefs

Cf. A067665.

Programs

  • Mathematica
    k = 3; Do[k = k - n; a = Table[ Length[ FactorInteger[i]], {i, k, k + n - 1}]; b = Table[i, {i, 1, n}]; While[ Sort[a] != b, k++; a = Drop[a, 1]; a = Append[a, Length[ FactorInteger[k]]]]; Print[k - n + 1], {n, 1, 7}]

Formula

Koninck, Friedlander, & Luca prove that a(n) > exp(2n + o(n)), but note that an earlier result of Erdős is "essentially equivalent". - Charles R Greathouse IV, Feb 04 2013

Extensions

One more term from Labos Elemer, May 26 2003
One more term from Donovan Johnson, Apr 03 2008
Corrected example and a(9) from Donovan Johnson, Aug 31 2010

A068796 Maximum k such that k consecutive integers starting at n have distinct numbers of prime factors (counted with multiplicity).

Original entry on oeis.org

2, 1, 2, 2, 2, 3, 3, 2, 1, 3, 2, 3, 2, 1, 4, 3, 2, 2, 3, 2, 1, 3, 3, 2, 1, 2, 1, 2, 2, 4, 3, 2, 1, 1, 3, 3, 2, 1, 4, 3, 2, 2, 2, 1, 4, 3, 4, 3, 2, 2, 4, 4, 3, 2, 2, 2, 1, 3, 2, 5, 4, 3, 3, 4, 3, 2, 3, 2, 4, 3, 2, 4, 3, 2, 1, 2, 5, 5, 4, 4, 3, 3, 3, 2, 1, 1, 3, 2, 4, 3, 2, 2, 1, 1, 4, 3, 2, 1, 3, 3, 2, 3, 4
Offset: 1

Views

Author

Dean Hickerson, Mar 05 2002

Keywords

Comments

The number of prime factors (counted with multiplicity) of n is bigomega(n) = A001222(n).

Examples

			a(6)=3 because 6, 7, 8 and 9 have, respectively, 2, 1, 3 and 2 prime factors; the first 3 of these are distinct.
		

Crossrefs

Programs

  • Mathematica
    bigomega[n_] := Plus@@Last/@FactorInteger[n]; a[n_] := For[k=1; s={bigomega[n]}, True, k++, If[MemberQ[s, z=bigomega[n+k]], Return[k], AppendTo[s, z]]]
    ss={}; Do[s={PrimeOmega[n]};k=1;While[FreeQ[s, (b=PrimeOmega[n+k])],s=AppendTo[s,b];k++];ss=AppendTo[ss,k],{n,103}]; (* Zak Seidov, Nov 09 2015 *)

A068797 Minimum x such that f(x)=n, where f(x)=A068796(x) is the maximum k such that k consecutive integers starting at x have distinct numbers of prime factors (counted with multiplicity).

Original entry on oeis.org

2, 1, 6, 15, 60, 726, 6318, 189375, 755968, 683441871, 33714015615
Offset: 1

Views

Author

Dean Hickerson, Mar 05 2002

Keywords

Comments

The number of prime factors (counted with multiplicity) of n is bigomega(n) = A001222(n).
The known terms, except for the first, agree with A067665. Is that true forever?

Crossrefs

Programs

  • Mathematica
    bigomega[n_] := Plus@@Last/@FactorInteger[n]; f[n_] := For[k=1; s={bigomega[n]}, True, k++, If[MemberQ[s, z=bigomega[n+k]], Return[k], AppendTo[s, z]]]; a[n_] := For[x=1, True, x++, If[f[x]==n, Return[x]]]

Extensions

a(11) from Donovan Johnson, Oct 15 2008

A067650 The start of a record-breaking run of consecutive integers with a number of prime factors not equal to 2.

Original entry on oeis.org

1, 16, 27, 96, 598, 1419, 2682, 6560, 16054, 17966, 32778, 35104, 35982, 340895, 1069542, 1589663, 3586844, 5835192, 139139888, 251306318, 285074690, 327023207, 751411952, 981270903, 2655397632, 5238280947, 6498130362, 8512915574
Offset: 1

Views

Author

G. L. Honaker, Jr., Feb 02 2002

Keywords

Examples

			a(1)= 1 is a run of length 3 before 4 has 2 prime factors. The run 11,12,13 is no new record.
a(2)=16=3*5+1 is a run of length 5 below 3*7, a(3)=2*13+1=27 is a run of length 6 below 3*11.
		

Crossrefs

Cf. A067665.

Extensions

a(5)-a(25) from Jud McCranie, Feb 14 2002
a(26)-a(28) from Sean A. Irvine, Dec 29 2023
Showing 1-4 of 4 results.