There are four numbers which are equal to sum of the factorial of their respective digits i.e i=[1 2 145 40585]. One can check for other numbers. It is confirmed by taking N=10000000 that only the aforementioned numbers are those which support the aforesaid statement.
Iqrar Raza (2022). matlab code for the numbers which are equal to sum of the factorial of their respective digits (https://www.mathworks.com/matlabcentral/fileexchange/67877-matlab-code-for-the-numbers-which-are-equal-to-sum-of-the-factorial-of-their-respective-digits), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!