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 words general and/or sequence:

    Everyone confesses in the abstract that exertion which brings out all the powers of body and mind is the best thing for us all; but practically most people do all they can to get rid of it, and as a general rule nobody does much more than circumstances drive them to do.
    Harriet Beecher Stowe (1811–1896)

    Reminiscences, even extensive ones, do not always amount to an autobiography.... For autobiography has to do with time, with sequence and what makes up the continuous flow of life. Here, I am talking of a space, of moments and discontinuities. For even if months and years appear here, it is in the form they have in the moment of recollection. This strange form—it may be called fleeting or eternal—is in neither case the stuff that life is made of.
    Walter Benjamin (1892–1940)