human
Maximum LCM among all pairs ( i , j ) of first N natural numbers | Function to return the maximum LCM among all the pairs ( i , j ) of first n natural numbers.
Driver code"
How can the above be solved in Python?
assistant
#Here is code to maximum LCM among all pairs ( i , j ) of first N natural numbers and the other steps required.
 def maxLCM ( n ) :
	return ( n * ( n - 1 ) ) ;
if __name__ == " _ _ main _ _ " :
	n = 3 ;
	print ( maxLCM ( n ) ) ;