如果x可以用y分开:
rem(x,y)== 0
或者:
x / y ==圆形(x / y)
另一个Apporach是计算3的倍数列表:
M3 = 3:3:25
Allnumbers = 1:25
现在
ISMERM(Allnumbers,M3)
如果可以将数字除以3。