editing
approved
editing
approved
a(n) = A232833(n,2). - R. J. Mathar, Apr 11 2024
approved
editing
editing
approved
LinearRecurrence[{5, -10, 10, -5, 1}, {0, 2, 24, 96, 260}, 40] (* Harvey P. Dale, Jun 04 2023 *)
approved
editing
proposed
approved
editing
proposed
Christian Poisson, Echecs et mathematiques, Rex Multiplex 29/1990, p. 829.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5). - Vincenzo Librandi, Apr 30 2013
(MAGMAMagma) I:=[0, 2, 24, 96, 260]; [n le 5 select I[n] else 5*Self(n-1)-10*Self(n-2)+10*Self(n-3)-5*Self(n-4)+Self(n-5): n in [1..40]]; /* or */ [n*(n-1)*(n^2+n-4)/2: n in [1..40]]; // Vincenzo Librandi, Apr 30 2013
approved
editing
editing
approved
A wazir is a (fairy chess) leaper [0,1].
Explicit formula (Christian Poisson, 1990): a(n) = n*(n-1)*(n^2+n-4)/2.
G.f.: 2x2*x^2*(2x2*x^2-7x7*x-1)/(x-1)^5 [From _. - _Vaclav Kotesovec_, Mar 25 2010]
approved
editing
editing
approved