|
|
A276679
|
|
Number of divisors of the n-th hexagonal number.
|
|
6
|
|
|
1, 4, 4, 6, 6, 8, 4, 16, 6, 8, 8, 12, 6, 16, 8, 10, 8, 24, 4, 24, 8, 8, 12, 16, 9, 16, 8, 24, 8, 16, 4, 36, 16, 8, 16, 18, 4, 24, 16, 16, 10, 16, 8, 24, 12, 16, 8, 40, 6, 36, 8, 12, 16, 16, 8, 32, 8, 16, 12, 48, 6, 16, 24, 14, 16, 16, 8, 48, 8, 16, 8, 48, 8
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(6) = 8 because the 6th hexagonal number is 66, which has 8 divisors: 1,2,3,6,11,22,33,66.
|
|
PROG
|
(PARI)
pg(m, n) = (n^2*(m-2)-n*(m-4))/2 \\ n-th m-gonal number
vector(100, n, numdiv(pg(6, n)))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|