I am trying to write a condition clause for a certain expression. I need to pick out the following cases:
Mod[x*y, 10] == 8, or
Mod[x*y, 10] == 3, or
Mod[x*y, 10] == 7.
I need to repeat this three times, and both
y are actually complex expressions, so it would be nice to be able to write this in a compact way.
I have tried
Mod[x*y, 10] == Or[8,3,7]
but this doesn't seem to work.