Fermat Last Theorem

Generates Fermat Numbers, type "help fermat".
1.5K Downloads
Updated Fri, 30 May 2003 09:42:08 +0000

No License

Theorem: There are no positive integers x,y,z and n>2 such that x^n+y^n=z^n
This program will print the Fermat numbers for n=2. For n=3, it's a known fact that there is no solution.

Type help fermat

Cite As

Prabhakar Subrahmanyam (2024). Fermat Last Theorem (https://www.mathworks.com/matlabcentral/fileexchange/3505-fermat-last-theorem), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0