In this paper the generating function for the numbers of variations with repetitions and a certain type of restrictions is determined. The variations in question are connected with paths in ...