OFFSET
1,2
COMMENTS
The Grasshopper moves on the same lines as a queen, but must jump over a hurdle to land on the square immediately beyond.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
V. Kotesovec, Number of ways of placing non-attacking queens, kings, bishops and knights (in English and Czech)
FORMULA
a(n) = 1/6*n^2*(n^4 -3*n^2 -24*n +74), n>3.
G.f.: -4*x^2*(3*x^8 -17*x^7 +37*x^6 -35*x^5 +11*x^4 +19*x^2 +11*x +1)/(x-1)^7.
MATHEMATICA
CoefficientList[Series[- 4 x (3 x^8 - 17 x^7 + 37 x^6 - 35 x^5 + 11 x^4 + 19 x^2 + 11 x + 1) / (x - 1)^7, {x, 0, 50}], x] (* Vincenzo Librandi, Jun 02 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vaclav Kotesovec, May 10 2011
STATUS
approved