Formula For The Nth Term