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.

A356098 A family of triangles T(m), m >= 0, read by triangles and then by rows; triangle T(0) is [1; 1, 1]; for m >= 0, triangle T(m+1) is obtained by replacing each subtriangle [t; u, v] in T(m) by [t; t-u, t-v; u-t, t+u+v, v-t; u, u-v, v-u, v].

Original entry on oeis.org

1, 1, 1, 1, 0, 0, 0, 3, 0, 1, 0, 0, 1, 1, 1, 1, -1, 1, -1, 0, 0, 0, 0, 0, -3, 3, -3, 0, 0, 3, 3, 3, 3, 0, 0, -3, 3, 3, 3, -3, 0, -1, 0, 3, 3, 3, 3, 0, -1, 1, 1, 0, -3, 3, -3, 0, 1, 1, 1, 1, -1, 0, 0, 0, 0, -1, 1, 1, 1, 0, 0, 0, 3, 0, 1, 0, 0, 1, 2, 0, 3, 0, 2
Offset: 0

Views

Author

Rémy Sigrist, Jul 26 2022

Keywords

Comments

We apply the following substitutions to transform T(m) into T(m+1):
t
/ \
/ \
t t-u---t-v
/ \ _\ / \ / \
/ \ / / \ / \
u-----v u-t--t+u+v--v-t
/ \ / \ / \
/ \ / \ / \
u----u-v---v-u----v
and:
u----u-v---v-u----v
\ / \ / \ /
\ / \ / \ /
u-----v u-t--t+u+v--v-t
\ / _\ \ / \ /
\ / / \ / \ /
t t-u---t-v
\ /
\ /
t
T(m) has 3^m+1 rows.
As m gets larger, T(m) exhibits interesting fractal features (see illustrations in Links section).

Examples

			Triangle T(0) is:
                           1
                          1 1
Triangle T(1) is:
                           1
                          0 0
                         0 3 0
                        1 0 0 1
Triangle T(2) is:
                           1
                         1   1
                      -1   1  -1
                     0   0   0   0
                   0  -3   3  -3   0
                 0   3   3   3   3   0
               0  -3   3   3   3  -3   0
            -1   0   3   3   3   3   0  -1
           1   1   0  -3   3  -3   0   1   1
         1   1  -1   0   0   0   0  -1   1   1
		

Crossrefs

See A355855, A356002, A356096 and A356097 for similar sequences.

Programs

  • PARI
    See Links section.