checking is numerator and denominator of abundancy index of both number are equal or not .
if ( n / gcd_n == m / gcd_m && sumFactors_n / gcd_n == sumFactors_m / gcd_m ) return true ; else return false ; }