Convert Integer to Octal, Euclidean Division Theorem - Discrete Mathematics