Discrete images, objects, and functions in Zn - Voss, Klaus (Algorithms and combinatorics, 1993)