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.

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)).