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.

Showing 1-6 of 6 results.

A289164 Number of dominating sets in the n X n black bishop graph.

Original entry on oeis.org

1, 3, 25, 201, 6979, 233727, 31262125, 4103802933, 2141080094839, 1107896230202475, 2284899650399760961, 4697484584102406799521, 38572957675399837886746123, 316392839278535985537956881623, 10375350180532286630209934837828053
Offset: 1

Views

Author

Eric W. Weisstein, Jun 26 2017

Keywords

Crossrefs

Programs

  • PARI
    Collect(sig,v,r,x)={forstep(r=r, 1, -1, my(w=sig[r]+1); v=vector(#v, k, sum(j=1, k, binomial(#v-j,k-j)*v[j]*x^(k-j)*(1+x)^(w-#v+j-1))-v[k])); v[#v]}
    DomSetCount(sig,x)={my(v=[1]); my(total=Collect(sig,v,#sig,x)); forstep(r=#sig, 1, -1, my(w=sig[r]+1); total+=Collect(sig, vector(w,k,if(k<=#v,v[k])), r-1, x); v=vector(w, k, sum(j=1, min(k,#v), binomial(w-j, k-j)*v[j]*x^(k-j)*(1+x)^(j-1)))); total}
    Bishop(n, white)=vector(n-if(white, n%2, 1-n%2), i, n-i+if(white, 1-i%2, i%2));
    a(n)=DomSetCount(Bishop(n,0),1); \\ Andrew Howroyd, Nov 05 2017

Extensions

Terms a(8) and beyond from Andrew Howroyd, Nov 05 2017

A303147 Number of total dominating sets in the n X n white bishop graph.

Original entry on oeis.org

1, 9, 143, 2699, 199095, 14042731, 3855890801, 1030417772377, 1084629728348393, 1128432868605656409, 4666227312488067563575, 19214059289771315688645819, 315759892137678954308707379391, 5181941387199963072391681357467099, 339917045534987610111076281503519527705
Offset: 2

Views

Author

Eric W. Weisstein, Apr 19 2018

Keywords

Crossrefs

Cf. A303145 (black bishop).

Programs

Extensions

a(8)-a(10) from Andrew Howroyd, Apr 20 2018
a(11) onwards from Andrew Howroyd, May 16 2025

A287897 Number of minimal dominating sets in the n X n white bishop graph.

Original entry on oeis.org

2, 6, 19, 78, 425, 2484, 18167, 137444, 1238979
Offset: 2

Views

Author

Eric W. Weisstein, Aug 02 2017

Keywords

Crossrefs

Extensions

a(7)-a(10) from Andrew Howroyd, Nov 30 2017

A289169 Number of connected dominating sets in the n X n white bishop graph.

Original entry on oeis.org

3, 9, 128, 2394, 176192, 13140504, 3695526272
Offset: 2

Views

Author

Eric W. Weisstein, Jun 26 2017

Keywords

Crossrefs

Extensions

a(8) from Andrew Howroyd, Sep 04 2017

A323501 Number of minimum dominating sets in the n X n white bishop graph.

Original entry on oeis.org

2, 6, 5, 2, 22, 356, 108, 24, 672, 25056, 4680, 720, 38160, 2531520, 342720, 40320, 3467520, 358444800, 38102400, 3628800, 460857600, 68388364800, 5987520000, 479001600, 84304281600, 16979648716800, 1264085222400, 87178291200, 20312541849600
Offset: 2

Views

Author

Eric W. Weisstein, Jan 16 2019

Keywords

Crossrefs

Cf. A182333 (bishop graph), A323500 (black bishop graph).

Programs

  • Mathematica
    Table[Piecewise[{{(n/2)! (n + 1)/2, Mod[n, 4] == 0}, {((n - 1)/2)!, Mod[n, 4] == 1}, {(n/2 - 1)! (n^2 + n + 2)/4, Mod[n, 4] == 2}, {((n - 3)/2)! (n + 1) (n^3 + n^2 - 6 n + 6)/16, Mod[n, 4] == 3}}], {n, 2, 20}] (* Eric W. Weisstein, Feb 27 2025 *)
  • PARI
    \\ See A289170 for DomSetCount, Bishop.
    a(n)={Vec(DomSetCount(Bishop(n, 1), x + O(x^((n+3)\2))))[1]} \\ Andrew Howroyd, Sep 08 2019
    
  • PARI
    a(n)=(n\4*2)!*if(n%4<2, if(n%2==0, (n + 1)/2, 1), if(n%2==0, (n^2 + n + 2)/4, (n + 1)*(n^3 + n^2 - 6*n + 6)/16)); \\ Andrew Howroyd, Sep 09 2019

Formula

From Andrew Howroyd, Sep 09 2019: (Start)
a(n) = (n/2)! * (n + 1)/2 for n mod 4 = 0;
a(n) = ((n-1)/2)! for n mod 4 = 1;
a(n) = (n/2-1)! * (n^2 + n + 2)/4 for n mod 4 = 2;
a(n) = ((n-3)/2)! * (n + 1)*(n^3 + n^2 - 6*n + 6)/16 for n mod 4 = 3.
(End)

Extensions

Offset corrected and terms a(11) and beyond from Andrew Howroyd, Sep 08 2019

A295898 Number of dominating sets in the n X n bishop graph.

Original entry on oeis.org

1, 9, 275, 40401, 23819327, 54628310529, 485957447109875, 16841198512899402489, 2288889894721295267504207, 1227434056896855478379496125625, 2609457701766492960629180224228668275, 22066361417879761780103839321116134285829441
Offset: 1

Views

Author

Eric W. Weisstein, Nov 29 2017

Keywords

Crossrefs

Formula

a(n) = A289164(n) * A289170(n). - Andrew Howroyd, Nov 30 2017

Extensions

a(8)-a(12) from Andrew Howroyd, Nov 30 2017
Showing 1-6 of 6 results.