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

A362312 Sierpinski triangle read by rows and filled in the greedy way such that each row, each diagonal and each antidiagonal contains distinct nonnegative values.

Original entry on oeis.org

0, 1, 2, 2, 1, 3, 0, 2, 4, 4, 3, 5, 1, 0, 6, 6, 0, 1, 5, 7, 3, 4, 2, 5, 8, 6, 9, 8, 7, 9, 4, 3, 8, 10, 3, 4, 11, 11, 5, 6, 0, 1, 3, 4, 10, 12, 2, 5, 13, 13, 6, 4, 1, 0, 7, 5, 12, 14, 5, 6, 7, 2, 3, 9, 15, 15, 7, 8, 1, 9, 0, 2, 5, 6, 4, 10, 11, 12, 13, 14, 16, 16, 14
Offset: 0

Views

Author

Rémy Sigrist, Apr 15 2023

Keywords

Comments

This sequence is a variant of A296339.
The n-th row has A001316(n) terms, the first one being n and the last one being A361740(n).

Examples

			Sierpinski triangle begins (with dots denoting empty places):
                                  0
                                1   2
                              2   .   1
                            3   0   2   4
                          4   .   .   .   3
                        5   1   .   .   0   6
                      6   .   0   .   1   .   5
                    7   3   4   2   5   8   6   9
                  8   .   .   .   .   .   .   .   7
                9   4   .   .   .   .   .   .   3   8
             10   .   3   .   .   .   .   .   4   .  11
           11   5   6   0   .   .   .   .   1   3   4  10
         12   .   .   .   2   .   .   .   5   .   .   .  13
       13   6   .   .   4   1   .   .   0   7   .   .   5  12
     14   .   5   .   6   .   7   .   2   .   3   .   9   .  15
   15   7   8   1   9   0   2   5   6   4  10  11  12  13  14  16
		

Crossrefs

Cf. A001316, A296339, A361740 (right border), A362313 (least values).
Showing 1-1 of 1 results.