Store the minimum first term and the corresponding common difference
if ( first_term1 < first_term ) : NEW_LINE INDENT first_term = first_term1 NEW_LINE diff = diff1 NEW_LINE DEDENT if ( first_term2 < first_term ) : NEW_LINE INDENT first_term = first_term2 NEW_LINE diff = diff2 NEW_LINE DEDENT