Is there a way to determine a pattern in a sequence which elements are known to be the result of a modulus operation ?
Say I have 0,1,2,0,1,2,0. It is $\{i mod 3\}$ for $i$ going from $0$ to $6$
That is what I mean by modulus (modulo?) operation,
Or is it by trial and error most likely ?
Cheers.