login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A276682
Number of divisors of the n-th 9-gonal number.
6
1, 3, 8, 4, 6, 4, 8, 12, 6, 6, 18, 8, 4, 8, 16, 8, 8, 9, 14, 24, 8, 4, 16, 12, 8, 8, 24, 8, 12, 12, 8, 20, 8, 4, 48, 24, 4, 12, 16, 24, 8, 12, 12, 16, 18, 4, 20, 16, 9, 16, 40, 8, 8, 8, 24, 36, 8, 4, 24, 24, 4, 16, 24, 12, 24, 8, 16, 16, 8, 12, 16, 18, 8, 16
OFFSET
1,2
LINKS
FORMULA
a(n) = A000005(A001106(n)).
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
Cf. A063440 (m=3), A048691 (m=4), A276678 (m=5), A276679 (m=6), A276680 (m=7), A276681 (m=8), A276683 (m=10).
Sequence in context: A105722 A103559 A021030 * A303215 A240242 A340782
KEYWORD
nonn,changed
AUTHOR
Colin Barker, Sep 13 2016
STATUS
approved