The first term in a sequence is 1 and the second term is 5. From the third term onwards, each…November 6, 2024