Function Call for each pair to calculate the count of pairwise co - prime divisors
for ( let i = 0 ; i < N ; i ++ ) { document . write ( countPairwiseCoprime ( arr [ i ] [ 0 ] , arr [ i ] [ 1 ] ) + " " ) ; } }