Solution of linear finite-difference equations with constant coefficients in the field of rational functions☆