Regular Paperfolding Sequence - General Paperfolding Sequence

General Paperfolding Sequence

The regular paperfolding sequence corresponds to folding a strip of paper consistently in the same direction. If we allow the direction of the fold to vary at each step we obtain a more general class of sequences. Given a binary sequence (fi), we can define a general paperfolding sequence with folding instructions (fi).

For a binary word w, let w‡ denote the reverse of the complement of w. Define an operator Fa as

and then define a sequence of words depending on the (fi) by w0 = ε,

The limit w of the sequence wn is a paperfolding sequence. The regular paperfolding sequence corresponds to the folding sequence fi = 1 for all i.

If n = m·2k where m is odd then

t_n =
\begin{cases}
f_j & \text{if } m = 1 \mod 4 \\
1-f_j & \text{if } m = 3 \mod 4
\end{cases}

which may be used as a definition of a paperfolding sequence.

Read more about this topic:  Regular Paperfolding Sequence

Famous quotes containing the word general:

    A point has been reached where the peoples of the Americas must take cognizance of growing ill-will, of marked trends toward aggression, of increasing armaments, of shortening tempers—a situation which has in it many of the elements that lead to the tragedy of general war.... Peace is threatened by those who seek selfish power.
    Franklin D. Roosevelt (1882–1945)