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.

A291593 Number of (non-null) connected induced subgraphs in the n X n rook complement graph.

Original entry on oeis.org

1, 6, 397, 64627, 33548446, 68719441230, 562949953224709, 18446744073708514623, 2417851639229258344134994, 1267650600228229401496677070990, 2658455991569831745807614120434011325, 22300745198530623141535718272648360902487971
Offset: 1

Views

Author

Eric W. Weisstein, Aug 27 2017

Keywords

Comments

From Andrew Howroyd, Aug 30 2017: (Start)
The vertex sets inducing disconnected subgraphs are:
- two or more vertices taken from a single row or column,
- any vertex combined with at least one from the same row and at least one from the same column,
- four vertices forming the corners of a rectangle. (End)

Programs

  • Mathematica
    Table[2^(n^2) - 2 n (2^n - n - 1) - n^2 (2^(n - 1) - 1)^2 - Binomial[n, 2]^2 - 1, {n, 10}]
  • PARI
    a(n) = 2^(n^2) - 2*n*(2^n-n-1) - n^2*(2^(n-1)-1)^2 - binomial(n,2)^2 - 1; \\ Andrew Howroyd, Aug 30 2017

Formula

a(n) = 2^(n^2) - 2*n*(2^n-n-1) - n^2*(2^(n-1)-1)^2 - binomial(n,2)^2 - 1. - Andrew Howroyd, Aug 30 2017

Extensions

a(6)-a(12) from Andrew Howroyd, Aug 30 2017