If there are more than 1 digits left and number is more than base , then remove last digit by doing num / base , reduce the number of digits and recur
if ( dig > 1 && num >= base ) return checkUtil ( num / base , -- dig , base ) ; return false ; }