MathDB
Product and Sum of Digits

Source:

August 8, 2024
number theory2022

Problem Statement

For a positive integer nn, let p(n)p(n) denote the product of the digits of nn, and let s(n)s(n) denote the sum of the digits of nn. Find the sum of all positive integers nn satisfying p(n)s(n)=8p(n)s(n)=8.