Convert Integer to Binary, Euclidean Division Theorem - Discrete Mathematics