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.

A092523 Number of distinct prime factors of n-th odd number.

Original entry on oeis.org

0, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 2, 1, 2, 1, 1, 2, 1, 1, 2, 1, 2, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 2, 2, 2, 1, 2, 1, 1, 3, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1, 1, 2, 1, 2, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 3, 1, 1, 2, 1, 2, 2, 1, 1, 2, 2, 2, 2, 1, 1, 3, 1, 1, 2, 2
Offset: 1

Views

Author

Reinhard Zumkeller, Apr 07 2004

Keywords

Crossrefs

Programs

  • Mathematica
    Table[PrimeNu[n],{n,1,211,2}] (* Harvey P. Dale, May 25 2015 *)
  • PARI
    a(n) = omega(2*n-1); \\ Amiram Eldar, Sep 21 2024

Formula

a(n) = A001221(2*n-1).
Sum_{k=1..n} a(k) = n * (log(log(n)) + B - 1/2) + O(n/log(n)), where B is Mertens's constant (A077761). - Amiram Eldar, Sep 21 2024