Mudd Math Fun Facts!
hosted by the Harvey Mudd College Math Department created, authored and ©1999-2007 by Francis Su
You can now subscribe to our RSS feed to get the latest Fun Facts!
Get a random Fun Fact!
No subject limitations
Search only in selected subjects
    Algebra
    Calculus or Analysis
    Combinatorics
    Geometry
    Number Theory
    Probability
    Topology
    Other subjects
  Select Difficulty  
Enter keywords 

  List All : List Recent : List Popular
  About Math Fun Facts / How to Use
  Contributors / Fun Facts Home
© 1999-2007 by Francis Edward Su
All rights reserved.


From the Fun Fact files, here is a Fun Fact at the Easy level:

Fermat's Little Theorem

Fermat's little theorem gives a condition that a prime must satisfy:

Theorem. If P is a prime, then for any number a,

( aP - a ) must be divisible by P.

Let's check:
29 - 2 = 510, is not divisible by 9, so it cannot be prime.
35 - 3 = 240, is divisible by 5, because 5 is prime.

Presentation Suggestions:
This may be a good time to explain the difference between a necessary and sufficient condition.

The Math Behind the Fact:
This theorem can be used as a way to test if a number is not prime, although it cannot tell you if a number is prime.

How to Cite this Page:
Su, Francis E., et al. "Fermat's Little Theorem." Mudd Math Fun Facts. <http://www.math.hmc.edu/funfacts>.

Bookmark this page on: | Digg this! | Del.icio.us | Technorati | Reddit | Fark | Squidoo | Furl | Blinklist | Yahoo MyWeb | Google | Stumbleupon |

Keywords:    number theory, primality test
Subjects:    number theory
Level:    Easy
Fun Fact suggested by:   Lesley Ward
Suggestions? Use this form.
4.10
 
current
rating
Click to rate this Fun Fact...
    *   Awesome! I totally dig it!
    *   Fun enough to tell a friend!
    *   Mildly interesting
    *   Not really noteworthy
and see the most popular Facts!

Want another Math Fun Fact?

For more fun, tour the Mathematics Department at Harvey Mudd College!