← Complete problem index

PROJECT EULER · #0190

Maximising a Weighted Product

Statement only · SolvedOriginal problem ↗

Let Sm=(x1,x2,…,xm) be the m-tuple of positive real numbers with x1+x2+⋯+xm=m for which Pm=x1⋅x22⋅⋯⋅xmm is maximised.

For example, it can be verified that ⌊P10⌋=4112 (⌊⌋ is the integer part function).

Find ∑m=215⌊Pm⌋.

Write-up coming later

The complete problem is available here. An approach, code, and answer will be added later.