Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Four Positive Integers with Equal Sum and Product

Abstract

Positive integer quadruples have equal sum and product exactly when they permute 4, 2, 1, 1; the common value is eight.

All four coordinates are natural numbers. Positivity excludes zero. Perm denotes the usual permutation relation on lists, including repeated entries. Subtraction is natural-number subtraction.

Theorem 1.1 (The two smallest coordinates).

Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/FourFactorSumProductBalance.sorted_positive_sum_product_lower_pair_eq_one (✓ std3). ∎

Source. Repository-derived.

Commentary.

Suppose the coordinates are decreasing. If the smallest is at least two, the product is at least eight times the largest coordinate, whereas the sum is at most four times it. Thus the smallest is one. If the next smallest were at least two, the product would be at least four times the largest coordinate, whereas the sum would be at most three times it plus one. The largest is then at least two, so this is again impossible.

Theorem 1.2 (The remaining two factors).

Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/FourFactorSumProductBalance.sorted_positive_sum_product_reduction (✓ std3). ∎

Source. Repository-derived.

Commentary.

Substituting the two unit coordinates gives the first equation. Both remaining coordinates are at least one, so expansion after subtracting one from each gives the second equation.

Theorem 1.3 (The decreasing solution).

Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/FourFactorSumProductBalance.sorted_positive_sum_product_classification (✓ std3). ∎

Source. Repository-derived.

Commentary.

The second coordinate cannot be one. If it were at least three, the remaining two-factor product would be at least three times the largest coordinate, exceeding the sum of those coordinates plus two. Hence the second coordinate is two and the largest is four.

Theorem 1.4 (All positive solutions).

Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/FourFactorSumProductBalance.positive_sum_product_iff_perm (✓ std3). ∎

Source. Repository-derived.

Commentary.

Sort the four coordinates in decreasing order. Sorting preserves the list length, positivity, sum, and product, so the decreasing classification applies. Conversely, a permutation of the stated list has the same sum and product.

Theorem 1.5 (The common value).

Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/FourFactorSumProductBalance.positive_sum_product_common_value (✓ std3). ∎

Source. Repository-derived.

Commentary.

Permutation invariance makes both quantities equal to eight for every positive solution.

At the decreasing solution this specializes to .

References

  • Truth anchor: D5/S3/Arith/GoldenResource/FourFactorSumProductBalance.positive_sum_product_common_value
  • Truth anchor: D5/S3/Arith/GoldenResource/FourFactorSumProductBalance.positive_sum_product_iff_perm
  • Truth anchor: D5/S3/Arith/GoldenResource/FourFactorSumProductBalance.sorted_positive_sum_product_classification
  • Truth anchor: D5/S3/Arith/GoldenResource/FourFactorSumProductBalance.sorted_positive_sum_product_lower_pair_eq_one
  • Truth anchor: D5/S3/Arith/GoldenResource/FourFactorSumProductBalance.sorted_positive_sum_product_reduction