What Is the Smallest Integer d Such That a^d Equals 1 Mod n?

  • Thread starter Thread starter cutesteph
  • Start date Start date
  • Tags Tags
    Time
Click For Summary
SUMMARY

The smallest integer d such that a^d ≡ 1 (mod n) can be determined using Euler's totient function, φ(n), which counts the integers relatively prime to n. If a and n are coprime, d must be a divisor of φ(n). If they are not coprime, no solution exists. The problem requires finding the smallest d for given positive integers a and n, where d is not predetermined but needs to be calculated.

PREREQUISITES
  • Understanding of modular arithmetic
  • Familiarity with Euler's totient function φ(n)
  • Knowledge of coprime integers
  • Basic number theory concepts
NEXT STEPS
  • Study the properties of Euler's totient function φ(n)
  • Learn how to determine coprimality between two integers
  • Explore the concept of multiplicative order in modular arithmetic
  • Practice solving modular equations involving powers
USEFUL FOR

Students in number theory, mathematicians interested in modular arithmetic, and anyone solving problems related to integer powers and modular equations.

cutesteph
Messages
62
Reaction score
0

Homework Statement


For any positive integer d and n, find the first integer d such that a^d =1 mod n

Homework Equations


Euler's totient function phi(n) = # of #s relatively prime to n
Will solve the condition if a and n are coprime but not for the first d

The Attempt at a Solution


If a and n are not coprime then there is no solution.
I am not sure how to find the smallest d such the condition holds. I know that d will be a factor of Euler's totient function.
 
Last edited by a moderator:
Physics news on Phys.org
For any positive integer d and n, find the first integer d such that a^d =1 mod n
Is d given or is d to be found ? Is a arbitrary ? Or would the exercise have been something along the lines of
For any positive integer a and n, find the first integer d such that a^d =1 mod n
 
d is to be found. Essentially I want to find the smallest integer d such that a^d = 1 mod n holds true.
Yes, For any positive integer a and n, find the first integer d such that a^d =1 mod n is how the problem should have been stated.
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
4K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K