Fermat Last Theorem

Generates Fermat Numbers, type "help fermat".
1.5K Downloads
Updated 30 May 2003

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 (2026). 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
Version Published Release Notes
1.0.0.0