Breaking Down a Number by Digits