Hello, Rifat. I guess, based on the Test Suite, that you are allowing _all_ integers, which is not what might be expected given that Fermat's Last Theorem traditionally involves natural numbers only (1, 2, 3, 4, ...). https://www.britannica.com/science/Fermats-last-theorem It might be worth mentioning in the Problem Statement. —DIV
Prime factor digits
Convert a vector into a number
Make a run-length companion vector
03 - Matrix Variables 6
Signal Processing Basic - 1. Stretch a signal
Neither minima nor maxima
Integer Sequence - II : New Fibonacci
row-th maximum row elements
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office