Hostname: page-component-76d6cb85b7-pn7tm Total loading time: 0 Render date: 2026-07-16T04:08:18.849Z Has data issue: false hasContentIssue false

RUNS IN PAPERFOLDING SEQUENCES

Published online by Cambridge University Press:  01 September 2025

JEFFREY SHALLIT*
Affiliation:
School of Computer Science, University of Waterloo, Waterloo, ON N2L 3G1, Canada
Rights & Permissions [Opens in a new window]

Abstract

The paperfolding sequences form an uncountable class of infinite sequences over the alphabet $\{ -1, 1 \}$ that describe the sequence of folds arising from iterated folding of a piece of paper, followed by unfolding. In this note, we observe that the sequence of run lengths in such a sequence, as well as the starting and ending positions of the nth run, is $2$-synchronised and hence computable by a finite automaton. As a specific consequence, we obtain the recent results of Bunder, Bates and Arnold [‘The summed paperfolding sequence’, Bull. Aust. Math. Soc. 110 (2024), 189–198] in much more generality, via a different approach. We also prove results about the critical exponent and subword complexity of these run-length sequences.

MSC classification

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of Australian Mathematical Publishing Association Inc.
Figure 0

Table 1 The regular paperfolding sequence.

Figure 1

Table 2 Run lengths of the regular paperfolding sequence.

Figure 2

Figure 1 The automaton assoc.

Figure 3

Figure 2 The lsd-first automaton RLR.

Figure 4

Figure 3 Synchronised automaton sp_reg for starting positions of runs of the regular paperfolding sequence.

Figure 5

Figure 4 Synchronised automaton ep_reg for ending positions of runs of the regular paperfolding sequence.

Figure 6

Figure 5 The automaton tt computing $t(n)$.