OFFSET
5,1
COMMENTS
Let the difference between the largest and smallest areas of the trapezoids be called the defect. Then a(n) is the minimum defect. The area of a trapezoid {b X s} is s*(2*b-s).
EXAMPLE
For n = 6, there are 9 sets of trapezoids:
{{2 X 1}, {3 X 1}, {3 X 2}, {6 X 2}} with defect = 20-3 = 17,
{{2 X 1}, {4 X 1}, {6 X 1}, {4 X 3}} with defect = 15-3 = 12,
{{3 X 1}, {3 X 2}, {6 X 1}, {4 X 2}} with defect = 12-5 = 7,
{{2 X 1}, {3 X 1}, {4 X 2}, {5 X 2}} with defect = 16-3 = 13,
{{2 X 1}, {3 X 1}, {4 X 1}, {5 X 3}} with defect = 21-3 = 18,
{{2 X 1}, {3 X 2}, {5 X 1}, {5 X 2}} with defect = 16-3 = 13,
{{3 X 1}, {4 X 1}, {3 X 2}, {5 X 2}} with defect = 16-5 = 11,
{{3 X 1}, {4 X 1}, {5 X 1}, {4 X 3}} with defect = 15-5 = 10,
{{4 X 1}, {3 X 2}, {5 X 1}, {4 X 2}} with defect = 12-7 = 5.
Therefore a(6) = 5, since this is the minimum defect.
CROSSREFS
KEYWORD
nonn
AUTHOR
Janaka Rodrigo, Nov 09 2025
STATUS
approved
