Finding x = ymod(n) for x=2^71 and n=23

  • Thread starter Thread starter vikkisut88
  • Start date Start date
Click For Summary

Homework Help Overview

The problem involves finding an integer y such that x ≡ y mod(n) with x = 2^71 and n = 23. The context is rooted in modular arithmetic and properties of prime numbers.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster expresses difficulty in handling the large number 2^71 and questions how to find the remainder when divided by 23. They reference a theorem related to primes and modular arithmetic but are uncertain about its application.
  • Another participant suggests a potential solution using properties of modular arithmetic, breaking down 2^71 into manageable components.
  • Some participants question the reasoning behind the original poster's doubts regarding their understanding of the topic.

Discussion Status

The discussion includes attempts to clarify the application of modular arithmetic principles. Some guidance has been offered regarding the breakdown of the problem, and there is an exploration of different interpretations of the calculations involved.

Contextual Notes

Participants note the challenge of dealing with large numbers and the relevance of prime properties in the context of the problem. There is an acknowledgment of personal struggles with the subject matter, which may influence confidence in the solutions proposed.

vikkisut88
Messages
34
Reaction score
0

Homework Statement


In this statement find the integer y such that x == y mod(n) where 0 =< y < n
x=2^71 n=23

Homework Equations


Let p be a prime number and let a be an integer which is not divisible by p. Then a^(p-1) == 1mod(p)

The Attempt at a Solution


I am really struggling as to where to start out with this as obviously 2^71 is too large a number to show fully on any normal or scientific calculator(something like 2.361... x 10^21) and so when dividing by 23 this merely gives 1.0266... x 10^20 which doesn't allow you to find a remainder.
I'm not sure if the above equation using p as a prime number is of any relevance, but this would suggest that a^22 ==1mod(23). But i don't know where to go from there, if I can use it at all.
 
Physics news on Phys.org
Okay so after reading through my notes for about the millionth time, I'm not sure if I've just worked it out. See whether you think this is right?!

As n is a prime number, 2^22 == 1 mod(23)

Hence 2^71 == 2^66.2^5
== (2^22)^3 . 2^5
== 2^5 == 32
== 9 mod(23)

So y = 9
 
Yes, of course, that's correct. Why the doubt?
 
borgwal said:
Yes, of course, that's correct. Why the doubt?

because I'm appalling at Number Theory so normally I'm wrong :-P
 
vikkisut88 said:
because I'm appalling at Number Theory so normally I'm wrong :-P

Times have changed :-)
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
4K
Replies
15
Views
4K
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
3
Views
2K
Replies
4
Views
2K
Replies
8
Views
2K
Replies
5
Views
2K
Replies
7
Views
2K