Problem 3754 · Easy

Concatenate Non-Zero Digits and Multiply by Sum I

Build x by concatenating the nonzero digits of n in order, add up all digits of n, and return x times that sum.

Open the interactive visualisation