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

A291808 Number of tilings of an n X n square using distinct polyominoes.

Original entry on oeis.org

1, 2, 44, 10066
Offset: 1

Views

Author

John Mason, Sep 01 2017

Keywords

Comments

The sequence gives the number of distinct tilings by polyominoes of a square with side n, considering tilings that are formed of distinct polyominoes. As for "free" polyominoes, tilings that are reflections or rotations of each other are not considered distinct.

Crossrefs

Cf. A268416 (polyominoes that will fit in n-sided square), A291806 (polyomino tilings of square), A291807 (symmetric tilings), A291809 (tilings with differently sized polyominoes).

A291809 Number of tilings of n X n square using differently sized polyominoes.

Original entry on oeis.org

1, 2, 35, 6563
Offset: 1

Views

Author

John Mason, Sep 01 2017

Keywords

Comments

The sequence gives the number of distinct tilings by polyominoes of a square with side n, considering tilings that are formed by polyominoes of all different sizes. As for "free" polyominoes, tilings that are reflections or rotations of each other are not considered distinct.

Crossrefs

Cf. A268416 (polyominoes that will fit in n-sided square), A291806 (polyomino tilings of square), A291807 (symmetric tilings), A291808 (tilings with distinct polyominoes).

A291807 The number of symmetric polyomino tilings of n X n square.

Original entry on oeis.org

1, 5, 67, 3000
Offset: 1

Views

Author

John Mason, Sep 01 2017

Keywords

Comments

The sequence gives the number of distinct tilings by polyominoes of a square with side n, considering tilings that have at least one symmetry. As for "free" polyominoes, tilings that are reflections or rotations of each other are not considered distinct.

Crossrefs

Cf. A268416 (polyominoes that will fit in n-sided square), A291806 (polyomino tilings of square), A291808 (tilings with distinct polyominoes), A291809 (tilings with differently sized polyominoes).

A328020 Number of distinct tilings of an n X n square with free n-polyominoes.

Original entry on oeis.org

1, 1, 2, 22, 515, 56734, 19846102, 23437350133
Offset: 1

Views

Author

Jeff Bowermaster, Oct 01 2019

Keywords

Crossrefs

Extensions

a(7) from Peter Kagey, Oct 10 2019, based on the Stack Exchange link.
a(8) from Christian Sievers, Oct 13 2019, based on the Stack Exchange link.

A347581 The Barnyard sequence: a(n) is the minimum number of unit length line segments required to enclose areas of 1 through n on a square grid.

Original entry on oeis.org

4, 9, 14, 20, 26, 33, 40, 47, 55, 63
Offset: 1

Views

Author

Scott R. Shannon, Oct 05 2021

Keywords

Comments

The areas of size 1 through n can be created in any order and position, the only requirement being the final number of line segments used to enclose all areas is minimized. It is likely the perimeter of each area of size k, 1 <= k <= n, is the minimum possible for an area of size k, although this is unknown.
See A348149 for the total segments when the number of segments at each step is minimized.

Examples

			Example areas using the minimum number of line segments from n = 1 through n = 10 are:
.
   __
  |__|  a(1) = 4
   __ __ __
  |__|__ __|  a(2) = 9
   __ __ __
  |__|__ __|  a(3) = 14
  |__ __ __|
   __ __ __
  |__|__ __|
  |__ __ __|  a(4) = 20
  |     |
  |__ __|
   __ __ __
  |__|__ __|__
  |__ __ __|  |  a(5) = 26
  |     |     |
  |__ __|__ __|
   __ __ __
  |__|__ __|__ __ __
  |__ __ __|  |     |  a(6) = 33
  |     |     |     |
  |__ __|__ __|__ __|
         __ __ __ __
   __ __|__         |
  |__|__ __|__ __ __|
  |__ __ __|  |     |  a(7) = 40
  |     |     |     |
  |__ __|__ __|__ __|
   __ __ __ __ __ __
  |           |     |
  |__ __ __ __|     |
  |        |__ __ __|   a(8) = 47
  |__ __ __|__      |
  |     |  |  |__ __|
  |__ __|__|__ __|__|
   __ __ __ __ __ __ __
  |        |           |
  |        |__ __ __ __|
  |__ __ __|__         |
     |__|__ __|__ __ __|  a(9) = 55
     |__ __ __|  |     |
     |     |     |     |
     |__ __|__ __|__ __|
   __ __ __ __ __ __ __ __
  |         __|__   |     |
  |__ __ __|     |__|__   |
  |        |     |     |__|
  |        |     |     |  |   a(10) = 63
  |__ __ __|__ __|__ __|__|
  |              |     |__|
  |__ __ __ __ __|__ __|
.
		

Crossrefs

A348149 Variation of the Barnyard sequence A347581: a(n) is the minimum number of unit-length line segments required to enclose areas of 1 through n on a square grid when the number of segments is minimized as each area of incrementing size, starting at 1, is added.

Original entry on oeis.org

4, 9, 14, 20, 26, 33, 40, 48, 55, 64
Offset: 1

Views

Author

Scott R. Shannon, Oct 03 2021

Keywords

Comments

In this variation of A347581 the areas must be added in the order of their sizes, from 1 through n, and as each area is added the minimum possible number of line segments must be used. This forces, for example, the first three areas of size 1, 2 and 3 to form a 2 X 3 block and thus they can never appear in any other arrangement in the final area. This is also true for n up to at least 9 due to the restriction of maximizing the usable edges for the next area. This leads to a(8) and a(10) containing one more line segment than the optimal solutions of A347581.

Examples

			Examples of n = 1 to n = 10 are given below. Note that for a(3) the configuration could also consist of the area of size 1 sitting above the area of size 2 with the area of size 3 forming an L-shaped block creating the minimal 2 X 3 block.
.
   __
  |__|  a(1) = 4
   __ __ __
  |__|__ __|  a(2) = 9
   __ __ __
  |__|__ __|  a(3) = 14
  |__ __ __|
   __ __ __
  |__|__ __|
  |__ __ __|  a(4) = 20
  |     |
  |__ __|
   __ __ __
  |__|__ __|__
  |__ __ __|  |  a(5) = 26
  |     |     |
  |__ __|__ __|
   __ __ __
  |__|__ __|__ __ __
  |__ __ __|  |     |  a(6) = 33
  |     |     |     |
  |__ __|__ __|__ __|
         __ __ __ __
   __ __|__         |
  |__|__ __|__ __ __|
  |__ __ __|  |     |  a(7) = 40
  |     |     |     |
  |__ __|__ __|__ __|
         __ __ __ __
        |           |
        |__ __ __ __|
   __ __|__         |
  |__|__ __|__ __ __|  a(8) = 48
  |__ __ __|  |     |
  |     |     |     |
  |__ __|__ __|__ __|
   __ __ __ __ __ __ __
  |        |           |
  |        |__ __ __ __|
  |__ __ __|__         |
     |__|__ __|__ __ __|  a(9) = 55
     |__ __ __|  |     |
     |     |     |     |
     |__ __|__ __|__ __|
      __ __ __ __ __ __ __
     |        |           |
     |        |__ __ __ __|
   __|__ __ __|__         |
  |     |__|__ __|__ __ __|  a(10) = 64
  |     |__ __ __|  |     |
  |     |     |     |     |
  |     |__ __|__ __|__ __|
  |__ __|
.
		

Crossrefs

A363381 a(n) is the number of distinct n-cell patterns that tile an n X n square.

Original entry on oeis.org

1, 2, 1, 60, 1, 102, 1, 62714
Offset: 1

Views

Author

Thomas Young, May 30 2023

Keywords

Comments

Consider n unit squares contained within an n X n square. The n unit squares are an n-cell pattern of the n X n square if, when copied n-1 times, they can, with various rigid transformations, be combined to tessellate the n X n square.
Put another way:
Consider, for example, for n = 4, a transparency with an outline of a 4 X 4 square filled by 16 unit squares. Any 4 unit squares are painted the same color. Those four squares are a potential n-cell pattern of the 4 X 4 square. Three copies of the transparency are made with only the color of the 4 squares being different. If a person can stack the transparencies in such a way that they fill the 4 X 4 square, then the n-cell pattern is acceptable.
Put another way:
n unit squares from an n X n square are painted a color. Those n unit squares are an n-cell pattern. If n-1 copies of the pattern can be painted (each a different color) and together they fill the n X n square, then the n unit squares form an acceptable n-cell pattern.
Conjecture by Andrew Young: For an n X n square, where n is an odd prime, there is only one n-cell pattern.
Conjecture by Andrew Young and Thomas Young: An odd integer n>=3 is prime iff there exists only one n-cell pattern for an n X n square.
For any number n, there is always the 1 X n pattern that tiles the n X n square.
For composite numbers n = f1*f2, 1 < f1 <= f2 < n, there is always an additional f1 X f2 pattern. For example, a 14 X 14 square can be tiled using fourteen 1 X 14 rectangles or fourteen 2 X 7 rectangles; a 15 X 15 square can be tiled using fifteen 1 X 15 rectangles or fifteen 3 X 5 rectangles; a 9 X 9 square can be tiled using nine 1 X 9 rectangles or nine 3 X 3 squares (as in Sudoku!).
The second conjecture is a Corollary of the first: If n = p*q is not prime, then there is always a second tiling using rectangles, as explained above. Since the second conjecture implies the first, the two conjectures are actually equivalent. - M. F. Hasler, Jun 15 2025

Examples

			For n = 1, there is one 1-cell pattern because there is only one unit square to paint.
For n = 2, there are two 2-cell patterns:
   +---+---+     +---+---+         +---+
   | 1 | 2 |     | 1 | 2 |         | 1 |
   +---+---+     +---+---+   and   +---+---+
   | 3 | 4 |                           | 4 |
   +---+---+                           +---+
For n = 3, there is one 3-cell pattern:
   +---+---+---+
   | 1 | 2 | 3 |
   +---+---+---+
   | 4 | 5 | 6 |     It is   +---+---+---+
   +---+---+---+             | 1 | 2 | 3 |
   | 7 | 8 | 9 |             +---+---+---+
   +---+---+---+
For n = 4, there are sixty 4-cell patterns:
   +---+---+---+---+
   | 1 | 2 | 3 | 4 |   One is  +---+---+---+---+
   +---+---+---+---+           | 1 | 2 | 3 | 4 |
   | 5 | 6 | 7 | 8 |           +---+---+---+---+
   +---+---+---+---+
   | 9 |10 |11 |12 |     which is equivalent to:
   +---+---+---+---+                       +---+
   |13 |14 |15 |16 |                       | 1 |
   +---+---+---+---+                       +---+
                                           | 5 |
                                           +---+
and therefore these two are not            | 9 |
counted as distinct patterns.              +---+
                                           |13 |
                                           +---+
Another 4-cell pattern for a 4 X 4 square
   +---+---+---+---+
   | x | x | y | y |
   +---+---+---+---+   is
   | z | y | x | a |          +---+---+
   +---+---+---+---+          | x | x |
   | y | z | a | x |          +---+---+---+
   +---+---+---+---+                  | x |
   | a | a | z | z |                  +---+---+
   +---+---+---+---+                      | x |
                                          +---+
     +---+---+
     | x | x |
     +---+---+---+       is equivalent to
             | x |
             +---+---+
                 | x |
                 +---+
           +---+---+  +---+                          +---+
           | y | y |  | z |                          | a |
       +---+---+---+  +---+---+                  +---+---+
       | y |              | z |                  | a |
   +---+---+              +---+---+---+  +---+---+---+
   | y |                      | z | z |  | a | a |
   +---+                      +---+---+  +---+---+
because the shapes can be created through reflection, rotation, or translation.
Therefore, they are counted as one pattern.
For n = 5, there is one 5-cell pattern.
		

Crossrefs

Formula

a(n) >= 2 if n is composite.
For n > 1, a(n) = 1 iff n is an odd prime (conjectured: cf comments).

Extensions

a(7)-a(8) from Andrew Howroyd, Jun 04 2023
Minor edits by M. F. Hasler, Jun 15 2025
Showing 1-7 of 7 results.