k and-n-filters