OFFSET
0,2
COMMENTS
The hexagonal lattice is the familiar 2-dimensional lattice in which each point has 6 neighbors. This is sometimes called the triangular lattice. Here we consider a hexagonal chunk of the lattice in which each bounding edge contains n+1 points.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 0..10000
G. Nebe and N. J. A. Sloane, Home page for hexagonal (or triangular) lattice A2
N. J. A. Sloane, Illustration for a(1)=8. [The drawing was made for a different offset, so it says a(2)=8.]
Index entries for linear recurrences with constant coefficients, signature (5, -10, 10, -5, 1).
FORMULA
a(n) = n*(n+1)*(7*n^2+7*n+2)/4.
G.f.: -2*x*(4*x^2+13*x+4)/(x-1)^5 [From Maksym Voznyy (voznyy(AT)mail.ru), Aug 10 2009]
PROG
(Maxima) A008893(n):=n*(n+1)*(7*n^2+7*n+2)/4$
makelist(A008893(n), n, 0, 30); /* Martin Ettl, Nov 03 2012 */
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Edited May 29 2012 by N. J. A. Sloane, May 29 2012
STATUS
approved