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.

A177756 Number of ways to place 3 nonattacking bishops on an n X n toroidal board.

Original entry on oeis.org

0, 0, 6, 128, 600, 2688, 7350, 19968, 42336, 89600, 163350, 297600, 490776, 809088, 1242150, 1906688, 2774400, 4036608, 5633766, 7862400, 10613400, 14326400, 18818646, 24718848, 31740000
Offset: 1

Views

Author

Vaclav Kotesovec, May 13 2010

Keywords

Crossrefs

Programs

  • Mathematica
    CoefficientList[Series[- 2 x^2 * (3 x^8 + 58 x^7 + 160 x^6 + 518 x^5 + 442 x^4 + 518 x^3 + 160 x^2 + 58 x + 3)/((x - 1)^7 * (x + 1) ^5), {x, 0,1 50}], x] (* Vincenzo Librandi, May 31 2013 *)
    LinearRecurrence[{2,4,-10,-5,20,0,-20,5,10,-4,-2,1},{0,0,6,128,600,2688,7350,19968,42336,89600,163350,297600},30] (* Harvey P. Dale, Aug 31 2024 *)

Formula

Explicit formula: 1/12*(n-2)^2*n^2*(2*n^2-4*n+5+3(-1)^n).
G.f.: -2*x^3*(3*x^8+58*x^7+160*x^6+518*x^5+442*x^4+518*x^3+160*x^2+58*x+3)/((x-1)^7*(x+1)^5).