Is the Freshman's Binomial Theorem Always True for Primes?

  • Thread starter Thread starter Chris L T521
  • Start date Start date
Click For Summary
The discussion revolves around proving the Freshman's Binomial Theorem, which states that for integers a, b, and a prime p, the equation (a+b)^p ≡ a^p + b^p (mod p) holds true. Participants engaged in solving this problem, with Bacterius, Opalg, and Sudharaka providing correct answers. An edit was made to clarify that the theorem does not hold for all positive integers, acknowledging a previous oversight. The conversation highlights the importance of understanding modular arithmetic in relation to prime numbers. The theorem's validity for primes is confirmed through the solutions provided.
Chris L T521
Gold Member
MHB
Messages
913
Reaction score
0
Thanks again to those who participated in last week's POTW! Here's this week's problem!

-----

Problem: Let $a,b\in\mathbb{Z}$, and let $p\in\mathbb{Z}^+$ be prime. Prove the "freshman's binomial theorem"; i.e. show that $(a+b)^p\equiv a^p+b^p\pmod{p}$.

-----

EDIT: I overlooked the fact that it isn't true for all positive integers (thanks Opalg). I've corrected the statement for this week's problem.

 
Last edited:
Physics news on Phys.org
This week's problem was correctly answered by Bacterius, Opalg, and Sudharaka. You can find Bacterius' solution below:

Trivially, by Fermat's Little Theorem which states that for any prime $p$ and $x \in \mathbb{Z}$, $x^p \equiv x \pmod{p}$, it follows that:
$$(a + b)^p \equiv a + b \equiv a^p + b^p \pmod{p}$$
Alternatively, a combinatoric argument would go as follows:
$$(a + b)^p = \sum_{k = 0}^p \binom{p}{k} a^{p - k} b^k$$
Each term of the sum except $k = 0$ and $k = p$ is a multiple of $p$ due to the binomial term, therefore:
$$(a + b)^p \equiv \binom{p}{0} a^p b^0 + \binom{p}{p} a^0 b^p \equiv a^p + b^p \pmod{p}$$
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
3K