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.

A122810 Number of distinct prime factors of the smallest odd number with exactly n divisors.

Original entry on oeis.org

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

Views

Author

Ray Chandler, Sep 22 2006

Keywords

Comments

a(n) = 1 iff n is prime.

Crossrefs

Programs

  • Mathematica
    PrimeNu[Table[Select[Range[1, 532000, 2], DivisorSigma[0, #] == k + 1 &, 1], {k, 0, 15}] // Flatten] (* G. C. Greubel, May 07 2017 *)

Formula

a(n) = omega(A038547(n)), where omega(n) = A001221(n).

Extensions

Typo in A_number fixed by Matthew Vandermast, May 03 2014