Abstract. We obtain large deviations theorems for both discrete time expressions of the form N n=1 F X(q 1 (n)), . . . , X(q ℓ (n)) and similar expressions of the form T 0 F X(q 1 (t)), . . . , X(q ℓ (t)) dt in continuous time. Here X(n), n ≥ 0 or X(t), t ≥ 0 is a Markov process satisfying Doeblin's condition, F is a bounded continuous function and q i (n) = in for i ≤ k while for i > k they are positive functions taking on integer values on integers with some growth conditions which are satisfied, for instance, when q i 's are polynomials of increasing degrees. Applications to some types of dynamical systems such as mixing subshifts of finite type and hyperbolic and expanding transformations will be obtained, as well.