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.

A341163 a(n) is the X-coordinate of the n-th point of the space filling curve A defined in Comments section; A341164 gives Y-coordinates.

Original entry on oeis.org

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

Views

Author

Rémy Sigrist, Feb 06 2021

Keywords

Comments

Coordinates are given on a hexagonal lattice with X-axis and Y-axis as follows:
Y
/
/
0 ---- X
We define the family {A_n, n >= 0} as follows:
- A_0 corresponds to the points (0, 0), (1, 1) and (3, 0), in that order:
. +__ .
---- ----
+ . . +
0
- for any n >= 0, A_{n+1} is obtained by arranging 4 copies of A_n as follows:
+
/B\
+ / \
/B\ /A C\
/ \ --> +-------+
/A C\ /B\C B/A\
+-------+ / \ / \
O /A C\A/B C\
+-------+-------+
O
- the space filling curve A is the limit of A_n as n tends to infinity.
This sequence has similarities with A341018.

Examples

			The curve A starts as follows:
                  .
                .   .
              .   5   .
            4   .   .   6
          .   .   3   .   .
        .   1   .   .   7   .
      0   .   .   2   .   .   8
- so a(0) = a(4) = 0,
     a(1) = a(5) = 1,
     a(3) = 2,
     a(2) = a(6) = 3,
     a(8) = 6.
		

Crossrefs

Programs

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