Give an example to show that ## a^{k}\equiv b^{k}\pmod {n} ## ....

  • Thread starter Math100
  • Start date
  • Tags
    Example
In summary, congruence modulo n is a relationship between two numbers where their difference is a multiple of n. It means that the numbers have the same remainder when divided by n. An example of two congruent numbers modulo n is 14 and 34, with a difference of 20 which is a multiple of 10. This concept is related to the statement a^k ≡ b^k (mod n), which means that the powers of a and b are also congruent modulo n. It is useful in simplifying mathematical computations, especially in modular arithmetic. There are various real-life applications of this concept, such as in computer science, cryptography, and number theory. It is also used in coding theory and in the study
  • #1
Math100
756
203
Homework Statement
Give an example to show that ## a^{k}\equiv b^{k}\pmod {n} ## and ## k\equiv j\pmod {n} ## need not imply that ## a^{j}\equiv b^{j}\pmod {n} ##.
Relevant Equations
None.
Disproof:

Here is a counterexample:
Let ## a=2, b=3, k=2, j=7 ## and ## n=5 ##.
Then ## 2^{2}\equiv 3^{2}\pmod {5} ## and ## 2\equiv 7\pmod {5} ##.
But note that ## 2^{7}\not\equiv 3^{7}\pmod {5} ##.
Thus ## a^{j}\not\equiv b^{j}\pmod {n} ##.
Therefore, ## a^{k}\equiv b^{k}\pmod {n} ## and ## k\equiv j\pmod {n} ## does not imply that ## a^{j}\equiv b^{j}\pmod {n} ##.
 
  • Like
Likes fresh_42 and Delta2
Physics news on Phys.org
  • #2
Another counter example
Say a is any decimal positive integer that ends with 1 and b is any decimal positive integer that ends with 3.
[tex]a^4 \equiv b^4 \equiv 1 (mod \ 10)[/tex]
[tex]4 \equiv 14 (mod \ 10)[/tex]
[tex]a^{14} \equiv 1(mod \ 10), b^{14} \equiv 9 (mod \ 10)[/tex]
 
  • Like
Likes Delta2
  • #3
Math100 said:
Homework Statement:: Give an example to show that ## a^{k}\equiv b^{k}\pmod {n} ## and ## k\equiv j\pmod {n} ## need not imply that ## a^{j}\equiv b^{j}\pmod {n} ##.
Relevant Equations:: None.

Disproof:

Here is a counterexample:
Let ## a=2, b=3, k=2, j=7 ## and ## n=5 ##.
Then ## 2^{2}\equiv 3^{2}\pmod {5} ## and ## 2\equiv 7\pmod {5} ##.
But note that ## 2^{7}\not\equiv 3^{7}\pmod {5} ##.
Thus ## a^{j}\not\equiv b^{j}\pmod {n} ##.
Therefore, ## a^{k}\equiv b^{k}\pmod {n} ## and ## k\equiv j\pmod {n} ## does not imply that ## a^{j}\equiv b^{j}\pmod {n} ##.
Looks good.
You might want to at least demonstrate that you actually know that ## 2^{7}\not\equiv 3^{7}\pmod {5} ## .

##2^7 \equiv 3 \pmod 5 ## whereas ##3^7 \equiv 2 \pmod 5 ##
 
  • Like
Likes Delta2
  • #4
Math100 said:
Homework Statement:: Give an example to show that ## a^{k}\equiv b^{k}\pmod {n} ## and ## k\equiv j\pmod {n} ## need not imply that ## a^{j}\equiv b^{j}\pmod {n} ##.
Relevant Equations:: None.

Disproof:

Here is a counterexample:
Let ## a=2, b=3, k=2, j=7 ## and ## n=5 ##.
Then ## 2^{2}\equiv 3^{2}\pmod {5} ## and ## 2\equiv 7\pmod {5} ##.
But note that ## 2^{7}\not\equiv 3^{7}\pmod {5} ##.
Thus ## a^{j}\not\equiv b^{j}\pmod {n} ##.
Therefore, ## a^{k}\equiv b^{k}\pmod {n} ## and ## k\equiv j\pmod {n} ## does not imply that ## a^{j}\equiv b^{j}\pmod {n} ##.
What @SammyS said, looks good. To know ##2^7=128\equiv 3\pmod 5## and ##3^7=2187\equiv 2\pmod 5## would have helped a lot. Most people have only the first, say four or five, powers in mind. It could be omitted in a book but should be told in an exercise.
 
  • Like
Likes Math100

Related to Give an example to show that ## a^{k}\equiv b^{k}\pmod {n} ## ....

1. What is the definition of congruence in modular arithmetic?

Congruence in modular arithmetic means that two numbers have the same remainder when divided by a given modulus. This can be represented as a ≡ b (mod n), where n is the modulus and a and b are the two numbers being compared.

2. Can you give an example of congruence in modular arithmetic?

One example is 7 ≡ 14 (mod 7). This means that when 7 is divided by 7, the remainder is 0, and when 14 is divided by 7, the remainder is also 0. Therefore, 7 and 14 are congruent (or equivalent) in mod 7.

3. How does congruence relate to exponents in modular arithmetic?

In modular arithmetic, congruence can also be applied to exponents. This means that if two numbers have the same remainder when raised to a certain power and divided by a given modulus, they are considered congruent in mod n. This can be represented as a^k ≡ b^k (mod n).

4. Can you provide an example showing that a^k ≡ b^k (mod n)?

Sure, one example is 2^3 ≡ 8 (mod 6). This means that when 2 is raised to the power of 3 and divided by 6, the remainder is 2. Similarly, when 8 is divided by 6, the remainder is also 2. Therefore, 2 and 8 are congruent in mod 6.

5. How can congruence in modular arithmetic be useful in solving problems?

Congruence in modular arithmetic can be useful in solving problems involving large numbers or in cryptography. It allows us to simplify calculations and identify patterns in numbers. It also has applications in fields such as computer science, engineering, and physics.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
4
Views
972
  • Precalculus Mathematics Homework Help
Replies
1
Views
927
  • Precalculus Mathematics Homework Help
Replies
3
Views
2K
  • Precalculus Mathematics Homework Help
Replies
1
Views
791
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
19
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
890
  • Precalculus Mathematics Homework Help
Replies
3
Views
770
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
7
Views
2K
Back
Top