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-3 of 3 results.

A359070 Smallest k > 1 such that k^n - 1 is the product of n distinct primes.

Original entry on oeis.org

3, 4, 15, 12, 39, 54, 79, 86, 144, 318, 1591, 144, 20131, 2014, 1764, 1308, 46656, 1296
Offset: 1

Views

Author

Kevin P. Thompson, Dec 15 2022

Keywords

Comments

a(19) > 60000 and a(20) = 3940.
a(19) > 5 * 10^5; a(21) = 132023; a(22) = 229430; a(24) = 4842. - Daniel Suteu, Dec 16 2022
Because of the algebraic factorization of x^n-1 (via cyclotomic polynomials), there is good reason to expect (on average) that prime values of n will have larger solutions than other numbers. That is, those values of n with many factors already get a head start by having many algebraic factors. - Sean A. Irvine, Jan 06 2023

Examples

			a(3) = 15 since 15^3 - 1 = 3374 = 2*7*241 is the product of 3 distinct primes and 15 is the smallest number with this property.
		

Crossrefs

Programs

  • PARI
    isok(k, n) = my(f=factor(k^n - 1)); issquarefree(f) && (omega(f) == n);
    a(n) = my(k=2); while (!isok(k, n), k++); k; \\ Michel Marcus, Dec 15 2022

Formula

a(n) >= A219019(n). - Daniel Suteu, Dec 16 2022

A219018 Smallest number k > 0 such that k^n + 1 has exactly n distinct prime factors.

Original entry on oeis.org

1, 3, 5, 43, 17, 47, 51, 1697, 59, 512, 521, 3255, 8189, 18951, 656
Offset: 1

Views

Author

Michel Lagneau, Nov 09 2012

Keywords

Comments

a(16) > 2 * 10^6; a(18) = 19208. - Daniel Suteu, Feb 06 2023

Examples

			a(3) = 5 is the smallest number of the set  {k(i)} = {5, 9, 10, 11, 12, 13, 14, 19,….} where k(i)^3 + 1 has exactly 3 distinct prime factors.
		

Crossrefs

Programs

  • Maple
    with(numtheory) :for n from 1 to 10 do:ii:=0:for k from 1 to 10^10 while(ii=0) do:x:=k^n+1:y:=factorset(x):n1:=nops(y):if n1=n then ii:=1: printf ( "%d %d \n",n,k):
    else fi:od:od:
  • Mathematica
    L = {}; Do[n = 1; While[Length[FactorInteger[n^k + 1]] != k, n++];  Print@AppendTo[L, n], {k, 15}] (* Giovanni Resta, Nov 09 2012 *)
  • PARI
    a(n) = my(k=1); while (omega(k^n+1) != n, k++); k; \\ Daniel Suteu, Feb 06 2023

Extensions

Definition clarified by Daniel Suteu, Feb 06 2023
a(13)-a(15) from Daniel Suteu, Feb 06 2023

A368162 a(n) is the smallest number k > 0 such that bigomega(k^n + 1) = n.

Original entry on oeis.org

1, 3, 3, 43, 7, 32, 23, 643, 17, 207, 251, 3255, 255, 1568, 107
Offset: 1

Views

Author

Daniel Suteu, Dec 14 2023

Keywords

Comments

a(16) <= 206874667; a(17) = 4095; a(18) = 6272; a(21) = 1151.

Examples

			a(5) = 7 is the smallest number of the set {k(i)} = {7, 14, 24, 26, 46, 51, ...} where k(i)^5 + 1 has exactly 5 prime factors counted with multiplicity.
		

Crossrefs

Programs

  • PARI
    a(n) = my(k=1); while (bigomega(k^n+1) != n, k++); k;
Showing 1-3 of 3 results.