Write the general formula for following alternating series in the form