Find the series having sum equal to x and product equal to y

30 Views Asked by At

Recently on programming platform, I came across this problem, And couldn't solve it. Problem: Given two values $x$ and $y$, where $x$ is the sum of the series and $y$ is the product of series. We have to find the series with the minimum size possible. Also series could can contain any real number. I am interested to know that which mathematics concept is this.