I'm stuck with a programming problem in Mathematica. If I want to
continuously divide a number (N) by incrementing the divisor (D) and
applying the condition that the division will only stop when the quotient (Q)
has become exact, i.e. the remainder is equal to zero, HOW DO I DO
I've tried looking at QUOTIENT function, MOD function, ITERATION
function and I can't seem to pull all the necessary commands together to come
up with an answer.