How to prove that:
32|ϕ(515)
and
51442≡2mod31
Thanks in advance.
Answer
For the first:
51=3⋅17. Use this to compute
ϕ(515)=ϕ(35175)=2⋅34⋅16⋅174=2534174
Can you see now why 32|ϕ(515)?
The second one is false:
51442≡2022≡2810⋅28≡94⋅9⋅28≡192⋅4≡20⋅4≡18(mod31)
The algorithm used here is called square-and-multiply in case you want to know how to compute such modular powers efficiently; It should be obvious that 2≢18(mod31).
Indeed if you want
51k≡2(mod31)
You must chose k such that k≡3(mod15), because the discrete logarithm and order are
log512(mod30)=3ord31(51)=15
No comments:
Post a Comment