![]() |
|
|
#1 |
|
Nov 2010
Ann Arbor, MI
9410 Posts |
I apologize if the question is trivial, I have math as a hobby.
Given a prime number p and the equation 2^x = 1 mod p, Fermat little theorem gives the solution x=p-1. When does the equation have other solutions for x<p? And which are the other solutions? Thanks. |
|
|
|
|
|
#2 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
Using the following PARI/GP commands:
f(p)=for(X=0,p-1,if(Mod(2^X,p)==Mod(1,p),print(X," ",p))) forprime(p=2,101,f(p)) I made this list, where "x p" means 2^x = 1 mod p Code:
0 2 0 3 2 3 0 5 4 5 0 7 3 7 6 7 0 11 10 11 0 13 12 13 0 17 8 17 16 17 0 19 18 19 0 23 11 23 22 23 0 29 28 29 0 31 5 31 10 31 15 31 20 31 25 31 30 31 0 37 36 37 0 41 20 41 40 41 0 43 14 43 28 43 42 43 0 47 23 47 46 47 0 53 52 53 0 59 58 59 0 61 60 61 0 67 66 67 0 71 35 71 70 71 0 73 9 73 18 73 27 73 36 73 45 73 54 73 63 73 72 73 0 79 39 79 78 79 0 83 82 83 0 89 11 89 22 89 33 89 44 89 55 89 66 89 77 89 88 89 0 97 48 97 96 97 0 101 100 101 Last fiddled with by Mini-Geek on 2010-11-20 at 16:02 |
|
|
|
|
|
#3 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
well one other major subset of those is ((p-1)/2) don't know about the others. |
|
|
|
|
|
|
#4 |
|
Nov 2010
Ann Arbor, MI
2×47 Posts |
Thank you mini-geek.
Do you think there is any expression x=f(p) for the solutions others than the trivial and the Fermat's? Last fiddled with by otutusaus on 2010-11-20 at 17:21 |
|
|
|
|
|
#5 |
|
Jun 2003
2×3×7×112 Posts |
|
|
|
|
|
|
#6 | |
|
Nov 2003
164448 Posts |
Quote:
Consult any good elementary number theory book. I can recommend several. One could always try Google. Hint: look up "Lagrange's Theorem" |
|
|
|
|
|
|
#7 | |
|
Nov 2003
22·5·373 Posts |
Quote:
I will be happy to answer the question after you have shown that you have done some reading. Get back to us after you have taken my earlier suggestions and I will be happy to answer any unanswered questions AFTER you show us that you are willing to do some work. |
|
|
|
|
|
|
#8 | |
|
Nov 2010
Ann Arbor, MI
2·47 Posts |
Quote:
Thanks for the hint. Last fiddled with by otutusaus on 2010-11-20 at 21:43 |
|
|
|
|
|
|
#9 |
|
Nov 2003
22×5×373 Posts |
|
|
|
|
|
|
#10 | |
|
Nov 2003
22×5×373 Posts |
Quote:
the answer is going to require some reading on your part. If you have something that you read but don't understand I will be happy to help. If you are unwilling to do the work, then please leave. And your English is excellent. The question you asked has been asked many times in the forum and there has been extended discussion in the past. Perhaps reading past posts from this forum might help. |
|
|
|
|
|
|
#11 |
|
Noodles
"Mr. Tuch"
Dec 2007
Chennai, India
23518 Posts |
2 should be a primitive root for p in this case.
2 is a quadratic residue (mod p), and hence its order is a divisor of (p-1)/2, thus not a primitive root whenever that p is congruent to 1 or 7 (mod 8). But when does the order of 2 (mod p) be (p-1)/q, for other factors 'q' of p-1, such that q is not divisible by 2? For example, it is true that 2 is not a quadratic residue (mod 43), but not a primitive root as well. Its order is rather 14. Seems that I should do so with some reading upon this part. An important question that I had encountered with recently: for what values of N, not necessarily prime, does there exist primitive roots (mod N), i.e. there exist with generators for that cyclic multiplicative group with N elements. 1, 2, 4, p^x, 2p^x. That's all, nothing more else. I saw that its proof rather digs deeper into that binomial theorem, that way, to be precise. Last fiddled with by Raman on 2010-11-21 at 17:30 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NDM-1 :solution genetic engineering? | science_man_88 | Science & Technology | 8 | 2010-11-13 22:01 |
| Best solution for 20-digits? | akeiser | Factoring | 9 | 2009-11-12 17:53 |
| Rational solution. | mfgoode | Homework Help | 9 | 2007-08-19 07:19 |
| a new solution to 2^n = 3 (mod n) | maxal | Math | 15 | 2007-02-28 18:42 |
| Help on solution for v^2-b=a*x^2 | jtavares | Factoring | 3 | 2005-03-17 20:47 |