División múltiple

Comienza con a y duplícala b veces. Devuelve true si el valor final es divisible por c, y false en caso contrario.

Ejemplos

abcmath(42, 5, 10) ➞ false
# 42+42 = 84, 84+84 = 168, 168+168 = 336, 336+336 = 672, 672+672 = 1344
# 1344 no es divisible por 10

abcmath(5, 2, 1) ➞ true

abcmath(1, 2, 3) ➞ false