OFFSET
2,1
LINKS
Colin Barker, Table of n, a(n) for n = 2..1000
EXAMPLE
a(4) = 3 because A000384(4) = 28 = 2^2 * 7.
MATHEMATICA
Rest[PrimeOmega[PolygonalNumber[6, Range[90]]]] (* Harvey P. Dale, Aug 10 2021 *)
PROG
(PARI)
pg(m, n) = (n^2*(m-2)-n*(m-4))/2 \\ n-th m-gonal number
a(n) = bigomega(pg(6, n))
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Jul 20 2015
STATUS
approved