Repeatedly folding a strip of paper in half and unfolding it in straight angles produces a fractal: the dragon curve. Shallit, van der Poorten and others showed that the sequence of right and left turns relates to a continued fraction that is also a simple infinite series. We construct a Mahler function from two functions of Dilcher and Stolarsky with similar properties. It produces a predictable irregular continued fraction that admits a regular continued fraction and a shape resembling the dragon curve. Furthermore, we discuss numerous variations on this theme.
Categories: math.NT math.CO math.CV