Problem 3622 · Easy

Check Divisibility by Digit Sum and Product

Add and multiply the digits of n in one pass, then test whether n is divisible by their sum plus their product.

Open the interactive visualisation