Discrete logarithm problem: does the base have to be a generator of Z? Z_p under multiplication, p=13, Z={1,…12} I need to find the discrete logarithm of base 5 to 8: So essentially 5^x equiv 8(mod 13)

Milton Anderson

Milton Anderson

Answered question

2022-09-05

Discrete logarithm problem: does the base have to be a generator of Z?
Z p under multiplication, p = 13 , Z = { 1 , 12 } I need to find the discrete logarithm of base 5 to 8:
So essentially 5 x 8 ( mod 13 )
However, In this problem 5 is not a generator of Z 13 5 produces a cyclical group {5,12,8,1} which does not contain all the elements of Z 13
I understand there is a solution to this, but can someone clarify this rule for me?

Answer & Explanation

Brooklynn Valencia

Brooklynn Valencia

Beginner2022-09-06Added 18 answers

Step 1
Let us first clear up a notational confusion. Let Z 13 = Z / 13 Z be the "ring of integers modulo thirteen". That is, we add, subtract, and multiply as usual in Z, however we are allowed to discard multiples of 13 whenever we like. For example, we have:
2 7 = 14 = 1 ( m o d 13 )
We use Z 13 × to denote the multiplicative structure of Z 13 . That is, we remove zero, and disallow addition and subtraction. This works nicely because 13 is prime. In fact, Z 13 × under multiplication forms a cyclic commutative group with identity equal to 1. This needs a proof, of course!
Step 2
In general, the discrete logarithm problem asks the following:
Given a,b,n positive integers, find all solutions (if any exist) to the equation a x = b ( m o d n ).
As your example shows, even when n is prime and a does not generate Z p × , it is possible for there to be solutions to the discrete logarithm problem.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?