Traverse the vector and find the maximum power of prime factor
for i in range ( len ( v ) ) : NEW_LINE INDENT if ( maxi_size < v [ i ] [ 1 ] ) : NEW_LINE INDENT maxi_size = v [ i ] [ 1 ] NEW_LINE prime_factor = v [ i ] [ 0 ] NEW_LINE DEDENT DEDENT