A random number offset generator