Second hexagonal numbers | Function to find N - th term in the series ; Driver code
def findNthTerm ( n ) : NEW_LINE INDENT print ( n * ( 2 * n + 1 ) ) NEW_LINE DEDENT N = 4 NEW_LINE findNthTerm ( N ) NEW_LINE