-1
$\begingroup$

I am trying to solve the following calculation, but I can't find the suitable value for B.

    6/3 (mod 6)
    A= 3
    B= ?
    M = 6
    (A * B) % M = 1
    (3 * B) % 6 =1

Somebody please guide me what is the problem with this.

Zulfi.

$\endgroup$

1 Answer 1

0
$\begingroup$

You are looking for an integer value for $B$ such that $3B=1 \mod 6$.

But if $B$ is even then $3B=0 \mod 6$ and if $B$ is odd then $3B=3 \mod 6$.

$B$ must be either even or odd. So there is no value for $B$ that satisfies $3B=1 \mod 6$.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.