Question 1020460
a.1 = 5


if a.n-1 is even, then a.n = a.n-1 / 2.


if a.n-1 is odd, then a.n = 3 * a.n-1 + 1.


i'm using the convention that a.n is equal to a sub n which is equal to a[n] which is equal to a<sub>n</sub>


we have a.1 = 5.


since a.1 is odd, then a.2 = 3 * a.1 + 1 = 3 * 5 + 1 = 16.


since a.2 is even, then a.3 = a.2 / 2 = 16/2 = 8.


since a.3 is even, then a.4 = a.3 / 2 = 8/4 = 4.


i believe the fourth term is equal to 4, based on this logic.