mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2008-12-15, 05:42   #1
flouran
 
flouran's Avatar
 
Dec 2008

72·17 Posts
Talking Solving modular equivalence problems

Hi Guys,
I am a new user and I was wondering if it is possible to solve the equation, (2x)mod(x+1) = 9, then can't I find x?
Can't I find x by saying that,
Equivalently, http://www.physicsforums.com/latex_i.../2001629-1.png.

Thus, can't I solve for x from there?

P.S. x=10
flouran is offline   Reply With Quote
Old 2008-12-15, 12:05   #2
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

2×683 Posts
Default

2x mod (x+1) = 9
2x = 9 + k(x+1) where k,x integer numbers.

2x - 9 - kx - k = 0

Solving that diophantine equation using my applet you get the four solutions:

(x=-2, k=13), (x=0, k=-9), (x=10, k=1), (x=-12, k=3)

The first two solutions are not solutions of the original congruence because x must be greater than 9.

Plugging in the third solution (x=10):

2(10) mod (10+1) = 20 mod 11 = 9 ok

Plugging in the fourth solution (x=-12):

2(-12) mod (-12+1) = -24 mod -11 = -24 mod 11 = 9 ok.
alpertron is offline   Reply With Quote
Old 2008-12-15, 16:16   #3
flouran
 
flouran's Avatar
 
Dec 2008

83310 Posts
Talking

The link you gave me for your applet was wrong. You initially gave me, http://www,alpertron.com.ar/QUAD.HTM

I believe the correct link is: http://www.alpertron.com.ar/QUAD.HTM; I'm not sure, correct me if I'm wrong.
flouran is offline   Reply With Quote
Old 2008-12-16, 22:06   #4
flouran
 
flouran's Avatar
 
Dec 2008

72×17 Posts
Talking

Quick Question: Say I have (x!)mod(x+3) = 3, how would I use the Diophatine definition of the modular function to solve for x? My approach would be, 3 + k(x+3) = x!, and therefore, 3+kx+3k - x! = 0. Similarly, I could use the Gamma definition of the factorial function to say,
3+kx+3k - \Gamma(x+1) = 3+kx+3k - x \Gamma(x) = 0

Then how would I solve for x from there?

P.S. At least one of the answers for x should be 4.

Last fiddled with by flouran on 2008-12-16 at 22:07
flouran is offline   Reply With Quote
Old 2008-12-19, 17:22   #5
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

2×683 Posts
Default

Returning to the math question:

(x!-3) mod (x+3) = 0 (1)

Let x > 3.

If x+3 is composite: x+3 = m*n where m<x and n<x. if m is equal to 3, exchange variables m and n.
x! is multiple of m so x!-3 is not multiple of m (the remainder is m-3), which means that (1) does not hold.

If x+3=p is prime: from Wilson's theorem (p-1)! = -1 (mod p),

x!-3 = (p-1)!/(p-1)/(p-2)-3 = -1/2-3 (mod p)

-1/2-3 = 0 (mod p) -> -1 = 6 (mod p) -> p must be 7 -> x must be 4.

Last fiddled with by alpertron on 2008-12-19 at 17:28
alpertron is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with a number theory equivalence lukerichards Number Theory Discussion Group 7 2018-01-29 14:58
Solving for x in Phi(n, x) = 0 (mod p) carpetpool Abstract Algebra & Algebraic Number Theory 1 2017-11-04 16:53
Solving x^2 + x + 1 == 0 (mod mp) paulunderwood Miscellaneous Math 17 2016-12-31 22:11
Solving x^2==1 (mod n) paulunderwood Miscellaneous Math 2 2016-12-30 07:34
solving modular constraints Joshua2 Homework Help 12 2010-02-19 22:59

All times are UTC. The time now is 01:43.


Sat Jul 17 01:43:33 UTC 2021 up 49 days, 23:30, 1 user, load averages: 1.64, 1.35, 1.28

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.