Finding the fourth term