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.

A367003 a(n) is the largest prime factor of n*2^n-1.

Original entry on oeis.org

1, 7, 23, 7, 53, 383, 179, 89, 271, 3413, 2503, 2137, 59, 367, 1433, 41, 15803, 59729, 26423, 11161, 1559, 12611, 9187523, 127867, 119837257, 11527, 2360833, 43969, 2339, 32212254719, 257503, 616318177, 260587, 127873, 682902239, 44939, 69660839431, 1185617
Offset: 1

Views

Author

Sean A. Irvine, Oct 31 2023

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := FactorInteger[n*2^n - 1][[-1, 1]]; Array[a, 40] (* Amiram Eldar, Oct 29 2024 *)

Formula

a(n) = A006530(A003261(n)).

A367007 Number of distinct prime factors of n*2^n + 1.

Original entry on oeis.org

0, 1, 1, 1, 2, 2, 3, 3, 2, 2, 3, 2, 3, 2, 3, 3, 2, 3, 4, 4, 3, 2, 4, 4, 4, 4, 4, 4, 2, 3, 5, 5, 3, 2, 5, 2, 3, 3, 3, 3, 3, 4, 4, 5, 4, 4, 5, 5, 4, 2, 6, 3, 6, 3, 5, 4, 3, 5, 5, 4, 4, 7, 3, 3, 6, 5, 7, 4, 4, 5, 5, 5, 5, 5, 3, 5, 4, 4, 4, 6, 4, 4, 4, 5, 4, 6, 6
Offset: 0

Views

Author

Sean A. Irvine, Oct 31 2023

Keywords

Comments

The numbers n*2^n+1 are called Cullen numbers.

Crossrefs

Programs

  • Mathematica
    Table[PrimeNu[n*2^n + 1], {n, 0, 100}] (* Amiram Eldar, Jan 06 2024 *)
  • PARI
    a(n) = omega(n*2^n + 1); \\ Amiram Eldar, Jan 06 2024

Formula

a(n) = omega(n*2^n + 1) = A001221(A002064(n)).

A367002 a(n) is the smallest prime factor of n*2^n-1.

Original entry on oeis.org

7, 23, 3, 3, 383, 5, 23, 17, 3, 3, 23, 5, 5, 7, 3, 3, 79, 13, 1879, 13, 3, 3, 47, 7, 229, 5, 3, 3, 32212254719, 263, 223, 5, 3, 3, 5, 73, 17, 1217, 3, 3, 6709, 29, 7, 71, 3, 3, 11, 97, 47, 228713, 3, 3, 5, 37, 5, 7, 3, 3, 9377, 11, 13, 479, 3, 3, 41, 5, 13, 137
Offset: 2

Views

Author

Sean A. Irvine, Oct 31 2023

Keywords

Crossrefs

Programs

  • Maple
    f:= n -> min(numtheory:-factorset(n*2^n-1)):
    map(f, [$2..100]); # Robert Israel, Nov 08 2023
  • Mathematica
    Table[FactorInteger[n*2^n-1][[1,1]], {n,2,69}] (* Paul F. Marrero Romero, Dec 17 2023 *)

Formula

a(n) = A020639(A003261(n)).
a(n) = 3 iff n == 4 or 5 (mod 6). - Robert Israel, Nov 08 2023

A367005 a(n) is the largest prime factor of n*2^n+1 for n>0, and a(0)=1.

Original entry on oeis.org

1, 3, 3, 5, 13, 23, 11, 23, 683, 419, 19, 1733, 199, 11833, 487, 997, 61681, 4691, 211, 5279, 7541, 1914791, 7177, 607, 5233, 6689, 2373919, 336823, 8937209, 6051013, 409, 11681, 25781083, 6031230671, 18803, 32502455213, 934861, 339016085231, 55586743
Offset: 0

Views

Author

Sean A. Irvine, Oct 31 2023

Keywords

Crossrefs

Programs

Formula

a(n) = A006530(A002064(n)).

Extensions

Name edited by Michel Marcus, Nov 10 2023
Showing 1-4 of 4 results.