if a1=10 and an = an-1+1 then find the value of a5

Using the given formula, we can calculate the value of an as follows:

a2 = a1 + 1 = 10 + 1 = 11
a3 = a2 + 1 = 11 + 1 = 12
a4 = a3 + 1 = 12 + 1 = 13
a5 = a4 + 1 = 13 + 1 = 14

Therefore, the value of a5 is 14.

To find the value of a5 in the sequence where a1 = 10 and an = an-1 + 1, we can use the recursive formula to find the value of each term in the sequence.

Let's start by writing out the terms of the sequence:

a1 = 10
a2 = a1 + 1 = 10 + 1 = 11
a3 = a2 + 1 = 11 + 1 = 12
a4 = a3 + 1 = 12 + 1 = 13
a5 = a4 + 1 = 13 + 1 = 14

Therefore, the value of a5 is 14.