Equality symbols in modular arithmetic

360 Views Asked by At

E.g., can I write $(a^{p})^{2p} \equiv a^{2p}=a^pa^p\equiv aa\equiv a^2\pmod{\! p}$?

I often see equality symbols inbetween mod equivalences. The equality signs point out the equality is not restricted to mod $p$ and holds in general.

Can it technically be used this way? I know it is not ambiguous, it is understandable and may make some things clearer, and I know this question is nitpicking about notation. But I'm thinking maybe there is some consensus regarding this?

2

There are 2 best solutions below

0
On

What you wrote is correct. You can also use everywhere equivalence signs, but not everywhere equality signs. What you wrote is the best.

1
On

Better to write all the symbols in the equivalent form, because if you use equivalent even once, then at the end you can just deduce a equivalent relation not equality, so because every equality implies equivalent in every modulo better to write all the symbols in equivalent mode.

Your note is clear enough, but is not symmetric...using alternative symbols makes your note less neat...