In the sequence 1, 5, 4, 1, 3, 2, ..., every term is equal to the absolute value of the difference of the previous two terms. Find the 1994th term.
In the sequence 1, 5, 4, 1, 3, 2, ..., every term is equal to the absolute value of the difference of the previous two terms. Find the 1994th term.
I don't know where you got that 5 but let's continue the sequence: 1, 5, 4, 1, 3, 2, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0
It starts repeating 110 at the 7th number so there are going to be (1994 – 6) / 3 = 662 & 2/3 groups, so it will be 2/3 of the way through the 663rd group, and 2/3 of the way through any of those groups is a 1. I'm confident my reasoning is solid so I'm going with a 1.
.