# Differences of the Union of Two Arithmetic Progressions and Christoffel Paths

Initializing live version

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Let and be two positive integers with . Define and to be the arithmetic progressions and . The set partitions the interval into subintervals, whose lengths are plotted here. The plots are periodic, so it makes sense to wrap them around a circle with a polar plot.

[more]

For example, if and , then and , so , whose successive differences are the lengths .

If is close to a fraction with low numerator and denominator, the points of the Cartesian plot seem to lie on a net of lines, and in the special case when , the line plot looks like beats.

The upper and lower Christoffel paths are paths on the integer unit lattice above and below the line from to such that no point with integer coordinates lies between them unless it is on . They envelope the unit squares that intersects. Here the paths are drawn up to the point . The paths (each of length ) break where the sorted sequence of the union of and changes from one sequence to the other.

[less]

Contributed by: George Beck (August 2015)
Open content licensed under CC BY-NC-SA

## Details

Reference

[1] Wikipedia. "Beat (Acoustics)." (Aug 3, 2015) en.wikipedia.org/wiki/Beat_%28 acoustics %29.

[2] J. Berstel, A. Lauve, C. Reutenauer, and F. Saliola, Combinatorics on Words: Christoffel Words and Repetitions in Words, 2008, p. 54.

## Permanent Citation

George Beck

 Feedback (field required) Email (field required) Name Occupation Organization Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback. Send