OFFSET
2,2
LINKS
Colin Barker, Table of n, a(n) for n = 2..1000
EXAMPLE
a(7) = 2 because A060354(7) = 112 = 2^4 * 7^1.
MATHEMATICA
Table[PrimeNu[PolygonalNumber[n, n]], {n, 2, 90}] (* Harvey P. Dale, Sep 24 2023 *)
PROG
(PARI)
pg(m, n) = (n^2*(m-2)-n*(m-4))/2 \\ n-th m-gonal number
a(n) = omega(pg(n, n))
vector(100, n, n++; a(n))
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Apr 04 2016
STATUS
approved