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.

A349218 a(n) is the X-coordinate of the n-th point of the 7-dragon curve; sequence A349219 gives Y-coordinates.

Original entry on oeis.org

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

Views

Author

Rémy Sigrist, Nov 11 2021

Keywords

Comments

Coordinates are given on a hexagonal lattice with X-axis and Y-axis as follows (the Y-axis corresponds to the sixth primitive root of unity):
Y
/
/
0 ---- X
The 7-dragon curve can be represented using an L-system.

Examples

			The 7-dragon curve starts as follows:
         14    12
          \   / \
           \ /   \
          10,13--8,11
             \   / \
              \ /   \
         2---3,6,9---7
          \   / \
           \ /   \
      0----1,4----5
- so a(0) = a(2) = a(10) = a(12) = a(13) = 0,
     a(1) = a(3) = a(4) = a(6) = a(8) = a(9) = a(11) = 1,
     a(5) = a(7) = 2,
     a(14) = -1.
		

Crossrefs

See A349040 and A349197 for similar sequences.
Cf. A349219.

Programs

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