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-5 of 5 results.

A063443 Number of ways to tile an n X n square with 1 X 1 and 2 X 2 tiles.

Original entry on oeis.org

1, 1, 2, 5, 35, 314, 6427, 202841, 12727570, 1355115601, 269718819131, 94707789944544, 60711713670028729, 69645620389200894313, 144633664064386054815370, 540156683236043677756331721, 3641548665525780178990584908643, 44222017282082621251230960522832336
Offset: 0

Views

Author

Reiner Martin, Jul 23 2001

Keywords

Comments

a(n) is also the number of ways to populate an n-1 X n-1 chessboard with nonattacking kings (including the case of zero kings). Cf. A193580. - Andrew Woods, Aug 27 2011
Also the number of vertex covers and independent vertex sets of the n-1 X n-1 king graph.

References

  • Steven R. Finch, Mathematical Constants, Cambridge, 2003, p. 343

Crossrefs

a(n) = row sum n-1 of A193580.
Main diagonal of A245013.

Programs

  • Mathematica
    Needs["LinearAlgebra`MatrixManipulation`"] Remove[mat] step[sa[rules1_, {dim1_, dim1_}], sa[rules2_, {dim2_, dim2_}]] := sa[Join[rules2, rules1 /. {x_Integer, y_Integer} -> {x + dim2, y}, rules1 /. {x_Integer, y_Integer} -> {x, y + dim2}], {dim1 + dim2, dim1 + dim2}] mat[0] = sa[{{1, 1} -> 1}, {1, 1}]; mat[1] = sa[{{1, 1} -> 1, {1, 2} -> 1, {2, 1} -> 1}, {2, 2}]; mat[n_] := mat[n] = step[mat[n - 2], mat[n - 1]]; A[n_] := mat[n] /. sa -> SparseArray; F[n_] := MatrixPower[A[n], n + 1][[1, 1]]; (* Mark McClure (mcmcclur(AT)bulldog.unca.edu), Mar 19 2006 *)
    $RecursionLimit = 1000; Clear[a, b]; b[n_, l_List] := b[n, l] = Module[{m=Min[l], k}, If[m>0, b[n-m, l-m], If[n == 0, 1, k=Position[l, 0, 1, 1][[1, 1]]; b[n, ReplacePart[l, k -> 1]] + If[n>1 && k 2, k+1 -> 2}]], 0]]]]; a[n_] := a[n] = If[n<2, 1, b[n, Table[0, {n}]]]; Table[Print[a[n]]; a[n], {n, 0, 17}] (* Jean-François Alcover, Dec 11 2014, after Alois P. Heinz *)

Formula

Lim_{n -> infinity} (a(n))^(1/n^2) = A247413 = 1.342643951124... . - Brendan McKay, 1996

Extensions

4 more terms from R. H. Hardin, Jan 23 2002
2 more terms from Keith Schneider (kschneid(AT)bulldog.unca.edu), Mar 19 2006
5 more terms from Andrew Woods, Aug 27 2011
a(22)-a(24) in b-file from Vaclav Kotesovec, May 01 2012
a(0) inserted by Alois P. Heinz, Sep 17 2014
a(25)-a(40) in b-file from Johan Nilsson, Mar 10 2016

A067958 Number of binary arrangements without adjacent 1's on n X n torus connected e-w ne-sw n-s nw-se.

Original entry on oeis.org

1, 5, 10, 133, 1411, 42938, 1796859, 157763829, 22909432780, 6291183426165, 3032485231813445, 2674030233698391466, 4216437656471537450175, 12038380931111061789962901, 61810608197507432888286102310, 572863067272579464080483552434421
Offset: 1

Views

Author

R. H. Hardin, Feb 02 2002

Keywords

Comments

For n > 1, a(n) is also the number of ways to populate an n X n toroidal chessboard with non-attacking kings (including the case of zero kings). - Vaclav Kotesovec, Oct 10 2011

Examples

			Neighbors for n=4:
  :\|/\|/\|/\|/
  :-o--o--o--o-
  :/|\/|\/|\/|\
  :\|/\|/\|/\|/
  :-o--o--o--o-
  :/|\/|\/|\/|\
  :\|/\|/\|/\|/
  :-o--o--o--o-
  :/|\/|\/|\/|\
  :\|/\|/\|/\|/
  :-o--o--o--o-
  :/|\/|\/|\/|\
		

Crossrefs

Cf. circle A000204, line A000045, arrays: ne-sw nw-se A067965, e-w ne-sw nw-se A067963, n-s nw-se A067964, e-w n-s nw-se A066864, e-w ne-sw n-s nw-se A063443, n-s A067966, e-w n-s A006506, nw-se A067962, toruses: bare A002416, ne-sw nw-se A067960, ne-sw n-s nw-se A067959, n-s A067961, e-w n-s A027683, e-w ne-sw n-s A066866.
Cf. A212269.

Extensions

a(14) from Vaclav Kotesovec, Aug 22 2016
a(15)-a(16) from Vaclav Kotesovec, May 15 2021

A212270 Number of ways to place k non-attacking wazirs on an n x n cylindrical chessboard, summed over all k >= 0.

Original entry on oeis.org

2, 7, 43, 933, 36211, 3557711, 746156517, 363549830913, 394677987525997, 974602314570939359, 5418730454986467701985, 68176187476467835406646029, 1936241516342334422813929891295, 124281423643836238320564876791634465, 18018270577720149773239661332878801006033
Offset: 1

Views

Author

Vaclav Kotesovec, May 12 2012

Keywords

Comments

Wazir is a leaper [0,1].

Crossrefs

Main diagonal of A286513.

Formula

Limit n ->infinity (a(n))^(1/n^2) is the hard square entropy constant A085850.

A212271 Number of ways to place k non-attacking ferses on an n x n cylindrical chessboard, summed over all k >= 0.

Original entry on oeis.org

2, 9, 80, 1600, 79033, 8156736, 2055960192, 1108756350625, 1411080429618656, 3943472747846953216, 25425527581172360096017, 365481944233773616212640000, 11980566143208960475692367828480, 882106482533191605447029340350009049, 147314997388032765439791110273770608260928
Offset: 1

Views

Author

Vaclav Kotesovec, May 12 2012

Keywords

Comments

Fers is a leaper [1,1].

Crossrefs

Formula

Limit n ->infinity (a(n))^(1/n^2) is the hard square entropy constant A085850.

A247413 Decimal expansion of the entropy constant related to A063443.

Original entry on oeis.org

1, 3, 4, 2, 6, 4, 3, 9, 5, 1, 1, 2, 4
Offset: 1

Views

Author

Vaclav Kotesovec, Sep 16 2014

Keywords

Examples

			1.342643951124...
		

References

  • Steven R. Finch, Mathematical Constants, Cambridge, 2003, p. 343.
  • B. D. McKay, On Calkin and Wilf's limit theorem for grid graphs, unpublished note, 1996.

Crossrefs

Formula

Equals limit n->infinity (A063443(n))^(1/n^2).
Equals limit n->infinity (A212269(n))^(1/n^2).
Showing 1-5 of 5 results.