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.

A326345 a(n) is the number of arm movements when expressing n in flag semaphore, counting the movement of each arm separately.

Original entry on oeis.org

6, 6, 6, 6, 5, 5, 6, 6, 6, 5, 7, 6, 7
Offset: 0

Views

Author

Felix Fröhlich, Sep 11 2019

Keywords

Comments

Each number is followed by the "rest"/"space" position, crossing both arms in front of the body, adding two further movements to each flag sequence.

Examples

			n    Flag sequence
0     __                   __
     |  |     /\          |  |
     |__|    / /          |__|
        |   /\/           |
        |  /              |
                       /
                      /
                     /\
                    / /
                    \/
1     __
     |  |     /\
     |__|    / /
        |   /\/
        |  /
                       /    |
                      /     |
                     /\   __|
                    / /  |  |
                    \/   |__|
2     __
     |  |     /\
     |__|    / /
        |   /\/
        |  /      ----------
                  |____|      |
                              |
                            __|
                           |  |
                           |__|
3
      __
     |  |     /\    /\
     |__|    / /    \ \
        |   /\/      \/\
        |  /            \
                             |
                             |
                           __|
                          |  |
                          |__|
4     __             __
     |  |     /\    |  |
     |__|    / /    |__|
        |   /\/        |
        |  /           |
                            |
                            |
                          __|
                         |  |
                         |__|
5     __
     |  |     /\         /\
     |__|    / /        / /
        |   /\/        /\/
        |  /          /
                   |
                   |
                   |__
                   |  |
                   |__|
6     __
     |  |     /\
     |__|    / /
        |   /\/
        |  /         ----------
                   |     |____|
                   |
                   |__
                   |  |
                   |__|
7     __
     |  |     /\
     |__|    / /
        |   /\/
        |  /
                   |    \
                   |     \
                   |__   /\
                   |  |  \ \
                   |__|   \/
8     __
     |  |     /\
     |__|    / /
        |   /\/
        |  /       ----------
                   |____|      /
                              /
                             /\
                            / /
                            \/
9     __             __
     |  |     /\    |  |
     |__|    / /    |__|
        |   /\/        |
        |  /           |
                          /
                         /
                        /\
                       / /
                       \/
10    __                                 __
     |  |     /\                        |  |
     |__|    / /                        |__|
        |   /\/                         |
        |  /                            |
                       /    |        /
                      /     |       /
                     /\   __|      /\
                    / /  |  |     / /
                    \/   |__|     \/
11    __
     |  |     /\
     |__|    / /
        |   /\/
        |  /
                       /    |        /    |
                      /     |       /     |
                     /\   __|      /\   __|
                    / /  |  |     / /  |  |
                    \/   |__|     \/   |__|
12    __
     |  |     /\
     |__|    / /
        |   /\/
        |  /                     ----------
                       /    |    |____|      |
                      /     |                |
                     /\   __|              __|
                    / /  |  |             |  |
                    \/   |__|             |__|
		

Crossrefs

Cf. A321332.