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.

A367006 Number of distinct prime factors of n*2^n - 1.

Original entry on oeis.org

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

Views

Author

Sean A. Irvine, Oct 31 2023

Keywords

Comments

The numbers n*2^n-1 are called Woodall (or Riesel) numbers.

Crossrefs

Programs

  • Mathematica
    Table[PrimeNu[n*2^n - 1], {n, 1, 100}] (* Amiram Eldar, Dec 11 2023 *)
  • PARI
    a(n) = omega(n*2^n - 1); \\ Amiram Eldar, Dec 11 2023

Formula

a(n) = omega(n*2^n - 1) = A001221(A003261(n)).