Suppose given an m-sequence M over a field Fq of size q (a prime power) and of order s. In other words: there is a primitive polynomial f(x) of degree s over Fq serving as the characteristic polynomial for a recurrently defined sequence. If alpha is a primitive root of f(x), then M is essentially the (trace of the) sequence of integer powers of alpha (which may be reduced modulo f). I am thinking of rather large-sized sequences (with s many hundreds or even thousands).
Given r < s and given r linearly independent powers of alpha with exponents i1