# Math Help - It is impossible to solve this basic prime numbers problem

1. ## It is impossible to solve this basic prime numbers problem

given odd number e find prime p and q such that ((p-1)*(q-1)-1) is evenly divisible by e

2. Originally Posted by rahulnaidu
given prime number e find prime p and q such that ((p-1)*(q-1)-1) is evenly divisible by e
Could this be worded better as e divides (p-1)(q-1)-1 such $e,p,q \in P$ where P are prime numbers?

3. sorry u could take that way

4. I think it could be solved if some write a code for that, but if some one directly find those 2 numbers then the person math. genius

5. $2^n-1$generates prime numbers so we have.

$(2^n-1-1)(2^p-1-1)+1=(2^n-2)(2^p-2)-1=2^{n+p}-2^{p+1}-2^{n+1}+3
$

This what I have though of so far but don't have time to continue so what you can come up with.

So we have $e|2^{n+p}-2(2^{p}+2^{n}-1)+1$. What do you mean be evenly divisible?

6. am also trying for some time now couldn't figure it out.

7. if it is divisible by 2 times,4times,6 times, like that

8. Originally Posted by rahulnaidu
given odd number e find prime p and q such that ((p-1)*(q-1)-1) is evenly divisible by e
sorry i changed the problem it is odd number e not prime number e

9. If e is odd, then e is of the form $2j+1$.

$(2j+1)|2(2^{n+p-1}-2^{p}+2^{n}-1)+1$. Now we have an odd number divides an odd number.

Are we actually looking for numbers or just solving a general case?