OFFSET
1,2
COMMENTS
A nightrider is a fairy chess piece that can move (proportionate to how a knight moves) in any direction.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = (32n^4 - 432n^3 + 3190n^2 - 13323n + 25530)/3, n>=18.
G.f.: -x * (2*x^21 -6*x^20 +10*x^19 -14*x^18 +22*x^17 -30*x^16 -26*x^15 +162*x^14 -272*x^13 +364*x^12 -466*x^11 +526*x^10 -303*x^9 -207*x^8 +603*x^7 -517*x^6 +489*x^5 -249*x^4 +142*x^3 +14*x^2 +11*x +1) / (x-1)^5. - Vaclav Kotesovec, Mar 25 2010
MATHEMATICA
CoefficientList[Series[-(2 x^21 - 6 x^20 + 10 x^19 - 14 x^18 + 22 x^17 - 30 x^16 - 26 x^15 + 162 x^14 - 272 x^13 + 364 x^12 - 466 x^11 + 526 x^10 - 303 x^9 - 207 x^8 + 603 x^7 - 517 x^6 + 489 x^5 - 249 x^4 + 142 x^3 + 14 x^2 + 11 x + 1) / (x - 1)^5, {x, 0, 50}], x] (* Vincenzo Librandi, May 28 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vaclav Kotesovec, Jan 29 2010
STATUS
approved