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

A368060 Triangle T(n, k), n > 0, k = 1..n, read and filled in the greedy way by rows such that T(n, k) corresponds to the size of the connected component of terms equal to T(n, k) including the position (n, k).

Original entry on oeis.org

1, 2, 2, 1, 3, 1, 2, 2, 3, 2, 1, 3, 1, 3, 2, 2, 2, 3, 2, 1, 3, 1, 3, 1, 3, 2, 3, 1, 2, 2, 3, 2, 1, 3, 2, 2, 1, 3, 1, 3, 2, 4, 1, 3, 1, 2, 2, 3, 2, 1, 3, 4, 2, 3, 2, 1, 3, 1, 3, 2, 3, 1, 4, 2, 3, 2, 2, 2, 3, 2, 1, 3, 2, 2, 4, 1, 4, 1, 1, 3, 1, 3, 2, 4, 1, 3, 1, 2, 2, 4, 2
Offset: 1

Views

Author

Rémy Sigrist, Dec 17 2023

Keywords

Comments

This sequence is a variant of A368148.
Empirically, each column is eventually periodic.

Examples

			Triangle T(n, k) begins:
              1
             2 2
            1 3 1
           2 2 3 2
          1 3 1 3 2
         2 2 3 2 1 3
        1 3 1 3 2 3 1
       2 2 3 2 1 3 2 2
      1 3 1 3 2 4 1 3 1
     2 2 3 2 1 3 4 2 3 2
		

Crossrefs

Cf. A368148.

Programs

  • PARI
    See Links section.

A368212 Square spiral of positive integers built by greedy algorithm such that each value corresponds to the area of the connected component with terms of the same value and containing this value.

Original entry on oeis.org

1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 2, 3, 1, 3, 2, 3, 1, 3, 2, 3, 1, 3, 2, 3, 1, 2, 3, 1, 3, 2, 1, 2, 3, 1, 3, 2, 1, 2, 3, 1, 3, 2, 1, 2, 3, 1, 3, 2, 1, 3, 2, 3, 2, 3, 2, 3, 1, 3, 2, 3, 2, 3, 2, 3, 1, 3, 2, 3, 2, 3, 2, 3, 1, 3, 2, 3, 2, 3, 2, 3, 1, 2, 3, 1, 4, 2, 1
Offset: 0

Views

Author

Rémy Sigrist, Dec 17 2023

Keywords

Comments

In other words, we tile the plane with polyominoes as small as possible, and for any k > 0, two k-ominoes cannot share an edge.
This sequence is a variant of A368148.
Empirically, the spiral has 4-fold rotational symmetry.

Examples

			The spiral begins:
        1---3---2---3---1
        |               |
        3   1---2---1   3
        |   |       |   |
        2   2   1---2   2
        |   |           |
        3   1---2---1---3
        |
        1---3---2---3---1
		

Crossrefs

Cf. A368148.

Programs

  • PARI
    \\ See Links section.
Showing 1-2 of 2 results.