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.

A194650 Number of ways to place 2 nonattacking kings on an n X n cylindrical chessboard.

Original entry on oeis.org

0, 0, 9, 68, 215, 504, 1001, 1784, 2943, 4580, 6809, 9756, 13559, 18368, 24345, 31664, 40511, 51084, 63593, 78260, 95319, 115016, 137609, 163368, 192575, 225524, 262521, 303884, 349943, 401040, 457529, 519776, 588159, 663068, 744905, 834084, 931031, 1036184
Offset: 1

Views

Author

Vaclav Kotesovec, Aug 31 2011

Keywords

Crossrefs

Programs

  • Mathematica
    CoefficientList[Series[x^2*(4*x^4 - 19*x^3 + 35*x^2 - 23*x - 9)/(x - 1)^5, {x, 0, 50}], x] (* Wesley Ivan Hurt, Dec 27 2023 *)

Formula

a(n) = 1/2*n*(n^3 - 9*n + 6), n>=3.
G.f.: x^3*(4*x^4 - 19*x^3 + 35*x^2 - 23*x - 9)/(x-1)^5.