Problem #WSP-5562

Problems Invariants

Problem

We build a sequence of numbers as follows: the first six terms are \(1,0,1,0,1,0\) and from then onwards, the next term of the sequence is equal to the last digit of the sum of the last \(6\) terms of the sequence. For example: if we had at some point the numbers \(1,0,3,5,10,9\) the next term would be the last digit of \(1+0+3+5+10+9=28\), i.e: \(8\). Will the terms \(0,1,0,1,0,1\) ever appear in the sequence?