Solving Arithmetics Problem: Find m Number for a^(m-1) ≡ 1 mod m

  • Thread starter luciasiti
  • Start date
In summary, the conversation discusses a problem where it needs to be proved that there are infinitely many composite numbers m satisfying the equation a^{m-1}\equiv 1 (mod m). The group suggests trying different prime numbers, but the original poster clarifies that m is a composite number and a can be any integer. They also mention finding a general solution for even a and discovering that the m values are the Fermat pseudoprimes to base a. They provide a proof for this statement and conclude that this solution cannot be found by trial and error.
  • #1
luciasiti
4
0
Hi everyone
I'm having difficulty in proving the following problem
Give [itex]a\in \mathbb{Z}[/itex] and [itex]a \ne 0[/itex]. Prove that: there exist infinitely many composite numbers m such that [itex]a^{m-1}\equiv 1 mod m[/itex]
I tried to find m number, which is satisfied with problem requirement, but I still haven't found it.
Can you help me find m number?
Thanks for your help!
 
Last edited:
Physics news on Phys.org
  • #2
You are trying to prove there exist infinitely many and you cannot find even 1? You need to talk to your teacher about this!

Suppose a= 3. Then you want to find prime m such that am-1= 1 (mod m).

Okay, just try some prime numbers. If m= 5 then am-1= 34= 81= 1 (mod 5). Done!

Perhaps I am misunderstanding your question.
 
  • #3
HallsofIvy said:
You are trying to prove there exist infinitely many and you cannot find even 1? You need to talk to your teacher about this!

Suppose a= 3. Then you want to find prime m such that am-1= 1 (mod m).

Okay, just try some prime numbers. If m= 5 then am-1= 34= 81= 1 (mod 5). Done!

Perhaps I am misunderstanding your question.

Thank you. But, in this problem, m is not prime number, m is composite number and a is an any integer.
 
Last edited:
  • #4
If m is odd then a=m-1 is a trivial solution. Other solutions are quite sparse. In the form a;m I found
4;15, 4;85, 4;9, 15;85, 7;77, 8;21, 8;45, 8;63, 8;105, 8;65, 11;15, 11;45, 15;49, 16;51, 16;85, 16;91, 18;115, 19;105, 20;85, 21;69, 27;33, 31;33, 31;77, 32;93, 34;77, 35;99, 37;55, 38;115
 
  • #5
haruspex said:
If m is odd then a=m-1 is a trivial solution. Other solutions are quite sparse. In the form a;m I found
4;15, 4;85, 4;9, 15;85, 7;77, 8;21, 8;45, 8;63, 8;105, 8;65, 11;15, 11;45, 15;49, 16;51, 16;85, 16;91, 18;115, 19;105, 20;85, 21;69, 27;33, 31;33, 31;77, 32;93, 34;77, 35;99, 37;55, 38;115
Typo: should have been 4;91, not 4;9.
Have now found a general solution for a even: set m = a2-1. Might be extensible to an infinite set of m values somehow.
 
  • #6
The m values are the Fermat pseudoprimes to base a. There are an infinity of them but they are generally not very dense; much less dense than primes.

A proof is here: http://primes.utm.edu/notes/proofs/a_pseudoprimes.html - you aren't going to stumble on this by trial and error.
 

FAQ: Solving Arithmetics Problem: Find m Number for a^(m-1) ≡ 1 mod m

1. What is the purpose of solving arithmetics problems?

The purpose of solving arithmetics problems is to find a solution or value for a given equation or mathematical expression. It allows us to understand and manipulate numbers, and is essential in many fields such as science, technology, engineering, and economics.

2. What does "mod" mean in the equation a^(m-1) ≡ 1 mod m?

"Mod" or modulus in mathematics refers to the remainder of a division operation. In this equation, it is used to indicate that the result of a^(m-1) divided by m should have a remainder of 1.

3. How do you solve the equation a^(m-1) ≡ 1 mod m?

There are various methods for solving this type of equation, depending on the value of "a" and "m". One approach is to use the Fermat's Little Theorem, which states that if m is a prime number, then a^(m-1) ≡ 1 mod m for all values of "a". Another method is to use modular arithmetic and trial and error to find a value of "m" that satisfies the equation.

4. Can this equation have more than one solution?

Yes, this equation can have multiple solutions for "m" depending on the value of "a". For example, when a = 2, the solutions for "m" are 1, 3, 5, 7, etc. However, when a = 3, the solutions for "m" are 1, 2, 4, 5, 7, 8, etc.

5. What are some practical applications of solving arithmetics problems?

Solving arithmetics problems has numerous practical applications in fields such as cryptography, coding theory, and computer science. It is also used in financial calculations, game theory, and in solving real-world problems involving numbers and equations.

Back
Top