cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A179060 Number of non-attacking placements of 5 rooks on an n X n board.

Original entry on oeis.org

0, 0, 0, 0, 120, 4320, 52920, 376320, 1905120, 7620480, 25613280, 75271680, 198764280, 480960480, 1082161080, 2289530880, 4594961280, 8809274880, 16225246080, 28844881920, 49689816120, 83217546720, 135870624120
Offset: 1

Views

Author

Thomas Zaslavsky, Jun 27 2010

Keywords

Crossrefs

Column k=5 of A144084.
Cf. A179059 (4 rooks), A179061 (6 rooks).

Programs

  • Mathematica
    a[n_] := If[n<5, 0, Coefficient[n!*LaguerreL[n, x], x, n-5] // Abs];
    Array[a, 30] (* Jean-François Alcover, Jun 14 2018, after A144084 *)
  • PARI
    a(n) = 5! * binomial(n, 5)^2 \\ Andrew Howroyd, Feb 13 2018

Formula

a(n) = 5! * binomial(n, 5)^2.
G.f.: -120*x^5*(x+1)*(x^4+24*x^3+76*x^2+24*x+1) / (x-1)^11. - Colin Barker, Jan 08 2013