Problem 3848 · Medium

Check Digitorial Permutation

Decide whether the digits of n can be rearranged, with no leading zero, into a number whose digit factorials add up to that same number.

Open the interactive visualisation