Be the first to rate this file! 125 downloads (last 30 days) File Size: 3.22 KB File ID: #10152

Fermat-like tuples

by John D'Errico

 

26 Feb 2006 (Updated 03 May 2006)

Code covered by BSD License  

Searches for Fermat-like tuples: x1^n + x2^n + ... + xp^n = z^m

Download Now | Watch this File

File Information
Description

I thought it might be fun to provide a tool to find Fermat-like tuples. These are sets of p+1 positive integers for which

  x1^n + x2^n + ... + xp^n = z^m

Yes, when p == 2 and n == m >= 3, whats-his-name has assured us that we won't find any solutions. But what happens for different values of n and m? Are there solutions when n=2 and m=3? What properties do those solutions have?

Have fun with it. I've also cited a few other tools on the file exchange for those who wish to play with some simple number theory in Matlab. Look around though. I know of at least a few others.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Fermat Last Theorem, Lucas.m, EPRIMES, Collatz

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
28 Feb 2006

Cleaned up the documentation, added some followups and a warning to signal when numerical problems are likely.

03 May 2006

Extension to p-tuples of numbers

Tag Activity for this File
Tag Applied By Date/Time
fermats last theorem pythagorean triples tuples John D'Errico 22 Oct 2008 08:16:50
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com