Traverse the vector and find the maximum power of prime factor
for ( let i = 0 ; i < v . length ; i ++ ) { if ( maxi_size < v [ i ] [ 1 ] ) { maxi_size = v [ i ] [ 1 ] ; prime_factor = v [ i ] [ 0 ] ; } }