Some of the algorithms like check digit algorithms can be adapted to be used here. For example you can compute
$$\frac{a_1}{2}+\frac{a_2}{4}+\frac{a_3}{8}+...+\frac{a_n}{2^n}.$$
Depending on how you define exponentials, this may or may not be within your constraints because powers of two can just be stored or computed as repeated multiplication. Also if your list is too long you may run into underflow. This method should keep you within your interval though. An easy variant is
$$\frac{a_1}{1}+\frac{a_2}{2}+\frac{a_3}{3}+...+\frac{a_n}{n}$$ and again if your numbers are evenly distributed around zero then this should stay inside your interval but in case it doesn't you can alternatively add and subtract.
Things like an idea of what $r$ is (how large or small is it), how many numbers in a typical list, if you are worried about overflow/underflow, are you using exact arithmetic or floating point stuff, do you want just error detection or do you want error correction as well, what kind of numbers are $a_n$ like are they all integers, unit fractions, rational numbers, and do you want to detect just change in magnitude of a number or a change in position as well like if two elements get swapped (i.e. is $\{1,2,3\}$ the same as $\{1,3,2\}$ or is it considered an "error" for you?) are all things to consider.