Finding Sum of an N Terms When Nth Term Is Given