Starting with 2,0,0,3, we construct the sequence 2,0,0,3,5,8,6,..., where each new digit is the mod10 sum of the preceding four terms. Will the 4-tuple 0,4,0,7 ever occur?
Any help is greatly appreciated. Since this problem is from a Working Backwards chapter, I have tried working with the desired four tuple and working backwards to determine other previous integers with no contradiction apparent. Thus, I am greatly confused.
Okay, from any x, y, z, w we can determine the previous term and there is no choice for variation. (As A + x +y + z = w has only one answer.)
As there are only finitely many 4-tuples the sequence must eventually repeat.
2,0,0,3 must come from
1,2,0,0 which must come from
7,1,2,0 which must come from
0,7,1,2 which must come from
4,0,7,1 which must come from
0, 4, 0,7.
Thus the sequence must repeat and 0,4,0,7 will appear near the very end of the cycle.