OFFSET
0,3
COMMENTS
The square grid graph G_(3,3) has 9 vertices, 12 edges and 9 rectangles with sides parallel to the axes.
a(4) = A200045(3,3) = 228984.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
Eric Weisstein's World of Mathematics, Grid Graph
FORMULA
a(n) = n*(n-1)*(n^7+n^6+n^5-8*n^4-8*n^3+4*n^2+22*n-14).
G.f.: 6 *x^2 *(11*x^7 +92*x^6 +2829*x^5 +13850*x^4 +26045*x^3 +15504*x^2 +2123*x +26) / (x-1)^10.
MAPLE
a:= n-> (((((n^3-9)*n^2+12)*n+18)*n-36)*n+14)*n:
seq(a(n), n=0..30);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Dec 21 2014
STATUS
approved