This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A276679 #18 Sep 14 2016 05:59:50 %S A276679 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, %T A276679 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, %U A276679 8,32,8,16,12,48,6,16,24,14,16,16,8,48,8,16,8,48,8 %N A276679 Number of divisors of the n-th hexagonal number. %H A276679 Colin Barker, <a href="/A276679/b276679.txt">Table of n, a(n) for n = 1..1000</a> %F A276679 a(n) = A000005(A000384(n)). - _Omar E. Pol_, Sep 13 2016 %e A276679 a(6) = 8 because the 6th hexagonal number is 66, which has 8 divisors: 1,2,3,6,11,22,33,66. %o A276679 (PARI) %o A276679 pg(m, n) = (n^2*(m-2)-n*(m-4))/2 \\ n-th m-gonal number %o A276679 vector(100, n, numdiv(pg(6,n))) %Y A276679 Cf. A000005, A000384. %Y A276679 Number of divisors of m-gonal numbers (m = 3..10): A063440, A048691, A276678, this sequence, A276680, A276681, A276682, A276683. %K A276679 nonn %O A276679 1,2 %A A276679 _Colin Barker_, Sep 13 2016