matlab code for the numbers which are equal to sum of the factorial of their respective digits
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.
Cite As
Iqrar Raza (2024). 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 Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Variable Precision Integer Arithmetic, num = eng2num( str )
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |