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.

A255201 Number of prime factors of n^2.

Original entry on oeis.org

0, 2, 2, 4, 2, 4, 2, 6, 4, 4, 2, 6, 2, 4, 4, 8, 2, 6, 2, 6, 4, 4, 2, 8, 4, 4, 6, 6, 2, 6, 2, 10, 4, 4, 4, 8, 2, 4, 4, 8, 2, 6, 2, 6, 6, 4, 2, 10, 4, 6, 4, 6, 2, 8, 4, 8, 4, 4, 2, 8, 2, 4, 6, 12, 4, 6, 2, 6, 4, 6, 2, 10, 2, 4, 6, 6, 4, 6, 2, 10, 8, 4, 2, 8, 4, 4, 4, 8, 2, 8, 4, 6, 4, 4, 4, 12
Offset: 1

Views

Author

Zak Seidov, Feb 17 2015

Keywords

Comments

a(n) = 2 if n is prime.
All terms are even.
Record values are 2(m-1) for n = 2^m, m >= 0.

Crossrefs

Programs

  • Mathematica
    Table[PrimeOmega[n^2], {n, 1000}] (* Indranil Ghosh, Mar 11 2017 *)
  • PARI
    a(n) = bigomega(n^2); \\ Michel Marcus, Feb 17 2015

Formula

a(n) = A001222(n^2) = A001222(A000290(n)) = 2*A001222(n).