less than 1 minute read

Marvin is interested in numbers whose sum of their digits equals the product of their digits. Call a nonnegative integer a $b$-Marvin number if it has this property when written in base $b$. Marvin noticed already that all single digits in base $b$ are trivially $b$-Marvin numbers.

  1. Prove there are no nontrivial (i.e. more than one digit) $b$-Marvin numbers when $b \leq 2$.
  2. Prove there are infinitely many $b$-Marvin numbers when $b \geq 3$.
  3. Prove there are only finitely many $b$-Marvin numbers not containing a 1 in any base.
  4. Prove that, for all positive integers $n$, there exists a base $b$ for which $n$ is a $b$-Marvin number.