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
797
221
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

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

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.

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.

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).

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.

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

Back
Top