OFFSET
1,2
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
EXAMPLE
a(2) = 3 because the 2nd 9-gonal number is 9, which has 3 divisors: 1,3,9.
MATHEMATICA
DivisorSigma[0, PolygonalNumber[9, Range[80]]] (* Harvey P. Dale, Dec 02 2024 *)
PROG
(PARI)
pg(m, n) = (n^2*(m-2)-n*(m-4))/2 \\ n-th m-gonal number
vector(150, n, numdiv(pg(9, n)))
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Colin Barker, Sep 13 2016
STATUS
approved