In modulo math, note that their symbol had three lines, not two as the equal sign contains. This symbol is "congruent to" instead of "equal to"

Some basic modulo math:
(I'll use *=* as congruent, as I can't think of a better symbol on my keyboard)

5 *=* 1 (mod 2):
5 is congruent to 1 modulo 2, but 5 does not equal 1. The command for this in vb would be result = 5 mod 2, where result = 1. It's just written a little differently from the "standard."

The "Not congruent to" symbol (I guess I could use *<>*) with the 3 bars and a line going vertically (slightly off) is where the answers are not congruent. ie:

5 *<>* 0 (mod 2)
5 is not congruent to 0 modulo 2.

The syntax I use (and them in that second image you posted) is, as far as I know, the standard way of writing this in number theory - or at least it was where I was taught it as well as among various sites on the net.

The (mod x) is like saying "log, base x" or whatever. Sure, you can take the log of a number, but you have to know what the base is in order to determine a value.

Does this make any sense?

Destined