Are every number equal to (sum of digits + product of digits) in a given base only two digits long ? Thought about limiting like this :
$$b^{(n - 1)} \leq N = \text{Product digits} + \text{Sum digits} \leq (b - 1)*n + (b - 1)^{(n)}$$
Obviously the set is finite (when $n \rightarrow +\infty$) but can't figure out how to get more precision about the set
Any idea ?
ie in base 10 : {0,19,29,39,49....,99}
Edit : 'base' abreviation : b. Number of digits for a number N : n
The product of a number's digits is always less than the number unless the number only has one digit. This is because all numbers can be represented by $a_0+a_1b^1+a_2b^2+...a_nb^n$ where $a_n<b$. Taking the first digit, $a_nb^n$, we can see that $a_0a_1a_2...a_n<a_nb^n$ because all digits are less than the base. In fact, the difference between the product of all the digits and the value of $a_nb^n$ is always greater than $b^{n-1}$, which you get for numbers like $100$ or $1000_4$. You can see this by realizing that decreasing the $m^{th}$ digit by $1$ decreases the number by $b^n$ but only decreases the product by $a_0a_1a_2...a_{m-1}a_{m+1}...a_n$. This process leads you to start with $b^n-1$ and decrease the first digit by $1$ (since $b^n>(b-1)^n$) until the first digit is $1$. Then, you can decrease the second digit by one (since $b^{n-1}>(b-1)^n$) until the second digit is zero. Then, the product of the digits will be zero no matter what you do, so you can make all the digits but the first digit zero. The upper bound on a number's digital sum is just $n(b-1)$, but we'll use the upper bound $nb$. Finally, combining the lower bound for what the digital sum needs to be with the upper bound for what it actually is nets us this result. $$nb>b^{n-1}\implies n>b^{n-2}\implies n<4$$ Now, we only need to check the case $n=3$ (which only has a possible solution when $b=2$) and $n=1$. You'll see that there are no solutions for $n=3$ just by testing all base $2$ numbers. $n=1$ implies that a one digit number $x=2x$, which only has the solution $x=0$. This leaves you with $n=2$.
A quick proof that $n=2$ has infinitely many solutions: