Euclid's orchard
Template:Short description Template:Distinguish

In mathematics, informally speaking, Euclid's orchard is an array of one-dimensional "trees" of unit height planted at the lattice points in one quadrant of a square lattice.[1] More formally, Euclid's orchard is the set of line segments from Template:Math to Template:Math, where Template:Mvar and Template:Mvar are positive integers.


The trees visible from the origin are those at lattice points Template:Math, where Template:Mvar and Template:Mvar are coprime, i.e., where the fraction Template:Math is in reduced form. The name Euclid's orchard is derived from the Euclidean algorithm.
If the orchard is projected relative to the origin onto the plane Template:Math (or, equivalently, drawn in perspective from a viewpoint at the origin) the tops of the trees form a graph of Thomae's function. The point Template:Math projects to
The solution to the Basel problem can be used to show that the proportion of points in the Template:Tmath grid that have trees on them is approximately and that the error of this approximation goes to zero in the limit as Template:Mvar goes to infinity.[2]
See also
References
External links
- Euclid's Orchard, Grade 9-11 activities and problem sheet, Texas Instruments Inc.
- Project Euler related problem