Divide L into L/e pieces to maximize product of the pieces

A stick of length L is broken into n equal-length parts.
The value of n that maximizes the product of the parts' lengths (i.e. (L/n)n) is either ⌊L/e⌋ or ⌊L/e⌋+1.

L:
n: 1 to:

L/e=