Resolving sequences of operators for linear ordinary differential and difference systems of arbitrary order