TOPICS
Search

Orchard-Planting Problem


OrchardProblem

The orchard-planting problem (also known as the orchard problem or tree-planting problem) asks for the maximum number r(n,k) of straight lines containing exactly k of n distinct points in the plane. Equivalently, the points represent trees and the lines represent rows, with positive integers n>=k>=2. The problem for k=3 is attributed to Sylvester (Croft et al. 1991, p. 159).

Here "orchard" refers to the arrangement of trees into rows. For visible points, orchard imagery instead refers to a fixed point lattice and unobstructed line segments between lattice points.

The following table gives values and bounds for r(n,k), based on Friedman's compilation. Du (2009, 2019) reported r(19,4)=20 from a computer search. A collaborative computer search established r(20,4)=23 (Du 2019). Improved upper bounds for k=4 are derived below.

n\k345
OEISA003035A006065A008997
31----
411--
5211
6411
7621
8721
91032
101252
111662
121973
13[22,24]93
14[26,27]104
15[31,32]12[6,9]
163715[6,9]
17[40,42]16[7,13]
18[46,48]18[9,14]
19[52,54]20[10,15]
20[57,60]23[11,16]
21[64,67][24,28][12,18]
22[70,73][28,32]>=14
23[77,81][28,35]
24[85,88][30,39]
25[92,96][32,42]

Interval entries give lower and upper bounds.

Sylvester showed that

 r(n,3)>=|_1/6(n-1)(n-2)_|,
(1)

where |_x_| is the floor function (Ball and Coxeter 1987). Burr et al. (1974) have shown using cubic curves that

 r(n,3)>=1+|_1/6n(n-3)_|.
(2)

Known sporadic constructions for n=7, 11, 16, and 19 have 6, 16, 37, and 52 three-point lines, respectively, compared with 5, 15, 35, and 51 from the right-hand side of the preceding bound (Pegg 2018). At least these four sporadic values are therefore known, while the existence of any others remains open.

Green and Tao (2013) proved that the preceding bound is exact for all sufficiently large n. In other words, r(n,3)=1+|_1/6n(n-3)_| for all sufficiently large n. For n>=4, the general upper bound is

 r(n,3)<=|_1/3[1/2n(n-1)-[3/7n]]_|,
(3)

where [x] is the ceiling function.

For the four-point problem, let t_j count the lines containing exactly j of the n points. If the points are not all collinear, Melchior's inequality gives t_2>=3+sum_(j>=4)(j-3)t_j>=3+t_4 (Green and Tao 2013). Each pair of points lies on exactly one line, so sum_(j>=2)(j; 2)t_j=1/2n(n-1). The contributions from t_2 and t_4 alone give 1/2n(n-1)>=t_2+6t_4>=3+7t_4. If all the points are collinear, then t_4=0 for n>=5. Thus for n>=5,

 r(n,4)<=|_(n(n-1)-6)/(14)_|.
(4)

The value r(20,4)=23 also gives r(21,4)<=28. If 21 points determine at least 29 four-point lines, choose 29 of these lines. They give 4·29=116 incidences, so some point lies on at most five of the chosen lines. Deleting it leaves 20 points on at least 24 four-point lines, contradicting r(20,4)=23.

For n=22, adding the center to the standard Grünbaum-Rigby configuration (Grünbaum and Rigby 1990) turns its seven three-point lines through the center into four-point lines, giving 28 in all.

OrchardProblem19

The figure shows five distinct incidence patterns for 19 points on 20 four-point lines, compiled by E. Pegg, Jr. (pers. comm., Nov. 8, 2026). The first can be realized with rational Cartesian coordinates. In each of the other four, the incidences force a cross ratio that generates a number field. A cross ratio is invariant under projective collineations and can be computed in any field over which the pattern is realized. The labels use the golden ratio phi=(1+sqrt(5))/2 and the plastic constant rho. The smallest coordinate field is Q(phi)=Q(sqrt(5)) for the panel labeled phi and Q(rho) for the three numbered panels labeled rho. These five examples attain the reported optimum. The catalog is not exhaustive.

OrchardProblem22FivePoint

For the five-point problem, Pegg (2026) gives a 22-point configuration with rational Cartesian coordinates. It consists of nine points on each side of the y-axis, paired by reflection, and four on the axis. Enumerating the distinct lines through pairs of points gives exactly 14 lines containing five points, so r(22,5)>=14. The figure shows these 14 lines.


See also

Configuration, Euclid's Orchard, Grünbaum-Rigby Configuration, Orchard Visibility Problem, Sylvester's Line Problem, Visible Point

Explore with Wolfram|Alpha

References

Ball, W. W. R. and Coxeter, H. S. M. Mathematical Recreations and Essays, 13th ed. New York: Dover, pp. 104-105 and 129, 1987.Burr, S. A. "Planting Trees." In The Mathematical Gardner (Ed. David Klarner). Boston, MA: Prindle, Weber, and Schmidt, pp. 90-99, 1981.Burr, S. A.; Grünbaum, B.; and Sloane, N. J. A. "The Orchard Problem." Geom. Dedicata. 2, 397-424, 1974. https://doi.org/10.1007/BF00147569.Croft, H. T.; Falconer, K. J.; and Guy, R. K. Unsolved Problems in Geometry. New York: Springer-Verlag, p. 159, 1991.Du, Z. H. "Catalog of Optimal Orchard-Planting Arrangements" (in Chinese). Mathematics Research Forum, Dec. 21, 2009. https://bbs.emath.ac.cn/thread-2015-1-1.html.Du, Z. H. "Finding Optimal Arrangements for the Twenty-Tree Problem" (in Chinese). eMath, Dec. 12, 2019. https://emathgroup.github.io/blog/orchard-planting-problem/.Dudeney, H. E. The Canterbury Puzzles and Other Curious Problems, 7th ed. London, England: Thomas Nelson and Sons, p. 175, 1949.Dudeney, H. E. §213 in Amusements in Mathematics. New York: Dover, 1970.Dudeney, H. E. Problem 435 in 536 Puzzles & Curious Problems. New York: Scribner, 1967.Friedman, E. "Tree Planting Problems." https://erich-friedman.github.io/packing/trees/.Gardner, M. Mathematical Carnival: A New Round-Up of Tantalizers and Puzzles from Scientific American. New York: Vintage Books, pp. 18-20 and 26, 1977.Gardner, M. "Tree-Plant Problems." Ch. 22 in Time Travel and Other Mathematical Bewilderments. New York: W. H. Freeman, pp. 277-290, 1988.Green, B. and Tao, T. "On Sets Defining Few Ordinary Lines." Disc. Comput. Geom. 50, 409-468, 2013. https://doi.org/10.1007/s00454-013-9518-9.Grünbaum, B. "New Views on Some Old Questions of Combinatorial Geometry." Teorie Combin. 1, 451-468, 1976.Grünbaum, B. and Rigby, J. F. "The Real Configuration (21_4)." J. London Math. Soc. 41, 336-346, 1990. https://doi.org/10.1112/jlms/s2-41.2.336.Jackson, J. Rational Amusements for Winter Evenings, or, A Collection of Above 200 Curious and Interesting Puzzles and Paradoxes Relating to Arithmetic, Geometry, Geography, &c. with Their Solutions, and Four Plates, Designed Chiefly for Young Persons. London, England: J. and A. Arch, 1821.Macmillan, R. H. "An Old Problem." Math. Gaz. 30, 109, 1946. Pegg, E. Jr. "Cultivating New Solutions for the Orchard-Planting Problem." Wolfram Blog, Feb. 2, 2018. https://blog.wolfram.com/2018/02/02/cultivating-new-solutions-for-the-orchard-planting-problem/.Sloane, N. J. A. Sequences A003035/M0982, A006065/M0290, and A008997 in "The On-Line Encyclopedia of Integer Sequences." Pegg, E. Jr. Mathematical Games. Episode 47: "Septopert, Octagons and Happy Edges." Nov. 19, 2026. https://www.youtube.com/watch?v=22aoU1PDCPc. https://community.wolfram.com/t/28628.Sloane, N. J. A. and Plouffe, S. Figure M0982 in The Encyclopedia of Integer Sequences. San Diego, CA: Academic Press, 1995.

Referenced on Wolfram|Alpha

Orchard-Planting Problem

Cite this as:

Weisstein, Eric W. "Orchard-Planting Problem." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Orchard-PlantingProblem.html

Subject classifications