# Math Help - modulo question

1. ## modulo question

Find some b in Z mod m such that {0,b,b^2,b^3,b^4,.....b^(m-1)} is a complete set of representatives for m=5 m=7

2. Originally Posted by stephanderson
Find some b in Z mod m such that {0,b,b^2,b^3,b^4,.....b^(m-1)} is a complete set of representatives for m=5 m=7
3

Tonio

3. Can you explain how to get that? and is it 3 for both of them?

4. Originally Posted by stephanderson
Can you explain how to get that? and is it 3 for both of them?

It is for both them and I got it by trial...
I'm almost sure there's no general method to find a primitive root modulo p, but I could be wrong.

Tonio

5. How would I show my work?

6. Originally Posted by stephanderson
How would I show my work?

That's an odd question! Just take the powers of 3 modulo 5 (or modulo 7) and show you actually get all the residues mod 5 (or mod 7).

Tonio