Function to check whether the sum of distinct digits of two numbers are equal
function checkSum ( m , n ) { var sumM = distinctDigitSum ( m ) ; var sumN = distinctDigitSum ( n ) ; if ( sumM == sumN ) return " " ; return " " ; }