It's very simple! You probably already know that a number is divisible by another if the remainder of their division is 0. The MOD operator returns this remainder, so you can do something as simple as...
NUM1 MOD NUM2 == 0
...to check if NUM1 is divisible by NUM2.
1そうだね プレイ済み