Preview

Fermat's Little Theorem

Good Essays
Open Document
Open Document
488 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Fermat's Little Theorem
1 10/10/01

Fermat’s Little Theorem From the Multinomial Theorem
Thomas J. Osler (osler@rowan.edu) Rowan University, Glassboro, NJ 08028 Fermat’s Little Theorem [1] states that n p −1 − 1 is divisible by p whenever p is prime and n is an integer not divisible by p. This theorem is used in many of the simpler tests for primality. The so-called multinomial theorem (described in [2]) gives the expansion of a multinomial to an integer power p > 0, (a1 + a2 + ⋅⋅⋅ + an ) p = p   k1 k2 kn   a1 a2 ⋅⋅⋅ an . k1 , k2 , ⋅⋅⋅, kn  k1 + k2 +⋅⋅⋅+ kn = p 



(1)

Here the multinomial coefficient is calculated by p   p! .  =  k1 , k2 , ⋅⋅⋅, kn  k1 !k2 !⋅⋅⋅ kn ! (2)

This is a generalization of the familiar binomial theorem to the case where the sum of n terms ( a1 + a2 + + an ) is raised to the power p. In (1), the sum is taken over all , kn such that k1 + k2 + + kn = p .

nonnegative integers k1 , k2 ,

In this capsule, we show that Fermat’s Little Theorem can be derived easily from the multinomial theorem. The following steps provide the derivation. 1. All the multinomial coefficients (2) are positive integers. This is clear from the way in which they arise by repeated multiplication by (a1 + a2 + ⋅⋅⋅ + an ) in (1). 2. There are n values of the multinomial coefficient that equal 1. These occur when all but one of the indices kr = 0 , so that the remaining index equals p. For example,    0, p , 0, p, 0,  p! = 1. = , 0  0! 0! p !0! 0!

2

3. With the exception of the n coefficients just listed above, all of the remaining coefficients are divisible by p if p is a prime number. This follows from the fact that (2) is an integer, so the denominator k1 !k2 ! kn ! divides the numerator p ! . Since kr < p for r = 1, 2, , n , the factor p never occurs in the prime factorization of the

denominator k1 !k2 ! kn ! . Therefore, k1 !k2 ! kn ! must divide ( p − 1)! and so p divides the multinomial coefficient. 4. Let each of the ar = 1 for r = 1, 2, (1 + 1



References: [1] Burton, David M., Elementary Theory of Numbers, (4th ed.), McGraw-Hill, New York, NY, 1997, pp. 91-92. [2] R. L. Graham, D. E. Knuth, O. Patashnik, Concrete Mathematics, Addison-Wesley, 1989, pp. 166-172.

You May Also Find These Documents Helpful

  • Satisfactory Essays

    18. Find all integers x, if there exist any, such that the following are true:…

    • 522 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    2. Use the definition {n \choose k} = \frac{n!}{k!(n -k)!} to show that the equation in question (1) is true.…

    • 527 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Pow Write-Up 1

    • 1175 Words
    • 5 Pages

    In this POW write-up, I am trying to prove that there can be only one solution to this problem, and demonstrate and corroborate that all solutions work and are credible. What the problem of the week is asking is that the number that you put in the boxes 0-4 is the number of numbers in the whole 5-digit number. For example, if you put zero in the “one” box, you would be indicating that there is zero ones in the number. Another example is if you put a two in the “three” box. This would indicate that there are two threes in the whole 5-digit number. I was asked to find solutions where are the numbers would work in heir perspective boxes. From there I started working on the problem that would fit this criterion.…

    • 1175 Words
    • 5 Pages
    Better Essays
  • Better Essays

    de Moivre’s formula is z^k=cos(2πk/n)+isin(2πk/n),k=0,1,2,…,n-1 (Nicodemi, 2006) for the 5th roots unity of n=5. The following show the fifth roots of unity using de Moivre’s formula.…

    • 1619 Words
    • 7 Pages
    Better Essays
  • Powerful Essays

    MAT100.Syll

    • 1309 Words
    • 7 Pages

    P121. 13, 15, 21, 27, 33, 35, 41, 49, 55, 31, 39, 47, 59, 67, 6971, 73and 75,…

    • 1309 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Pow #2

    • 1106 Words
    • 5 Pages

    There’s a standard 8 x 8 checkerboard made up by 64 small squares. Each square is able to combine with others squares to make other squares of different sizes. Our job is to find out how many squares there’s in total. Once you get all the number of squares get all the number of squares and feel confident with your answer you next explain how to find the number of squares on any size checkerboard. You will know you have the answer when no matter how what size board you have you can give a clear description of to easily compute the total number of squares. So basically what you’re doing is finding the total number of squares in a 8 x 8 checkerboard and pretty much finding an equation on how to find the total number of squares on any size board.…

    • 1106 Words
    • 5 Pages
    Good Essays
  • Good Essays

    4.02 Chemistry Notes

    • 782 Words
    • 4 Pages

    2. Whenever you add a coefficient in front of a formula, remember that it affects the number of each atom in that formula. Check how this new coefficient affects each element in the equation before you add the next coefficient.…

    • 782 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Smith, D. E. (1951). History of Mathematics: General Survey of the History of Elementary Mathematics (Vol. 1). New York: Dover Publications.…

    • 420 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Week 10 Essay

    • 397 Words
    • 2 Pages

    Binomial coefficients are a family of positive integers that occurs as coefficients in the binomial theorem.…

    • 397 Words
    • 2 Pages
    Good Essays
  • Good Essays

    James Nickel is the author of “Mathematics: Is God Silent?” He was born and raised on a farm in Dinuba, California. He earned his bachelor’s degree in mathematics and his master’s degree in education. He spent most of the late 70’s and 80’s teaching mathematics at a high school in Australia and Hawaii. During those years he not only taught mathematics, but he also spent a lot of time researching it. Aside from teaching, he was a mathematical analyst for the United States Navy.…

    • 754 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Algebra Factoring

    • 376 Words
    • 2 Pages

    In all of these equations we are finding the factor for the answer. We are using grouping, GCF, prime factor, and perfect square as well in these set equations.…

    • 376 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    SAT Math Quiz

    • 2356 Words
    • 10 Pages

    then y = x/4 + x/4 + EG = x/2 + EG. Solving for EG…

    • 2356 Words
    • 10 Pages
    Better Essays
  • Good Essays

    Fermat's Last Theorem

    • 939 Words
    • 4 Pages

    Currently holding the world record for longest standing math problem ever, Fermat’s last theorem went unsolved for 365 years. Fermat's last theorem was one of the largest white whales in the study of math. Over the centuries, thousands were puzzled by the impossible problem. From its conception to its solution, Fermat's last theorem was one of the most difficult to solve yet easy to understand problems in mathematics. First, I will discuss the theorem and how it was introduced to the mathematics community. Second, I will discuss some of the influences Fermat's last theorem has had over its lengthy history. Third, I will discuss how solution finally came about.…

    • 939 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    2.6 Prime Factorization and the GCF . . . . . . . . . . . . . . . . . . . .…

    • 7804 Words
    • 32 Pages
    Satisfactory Essays
  • Better Essays

    Boyer, Carl. A History of Mathematics: 2nd Edition. New York, New York: John Wiley and Sons, 1968…

    • 1432 Words
    • 6 Pages
    Better Essays

Related Topics