# Maximal Products of a Given Sum

Back in high school, I came across the following contest problem – “What is the largest product of a set of positive integers totaling 20?”

It’s a fun problem, so don’t rush past the spoiler tags too fast. In this post, we’ll give the solution to this problem and discuss a “continuous” version of this question. Namely, what happens when we’re allowed to include real numbers in our product?