Existence of independent [1, 2]-sets in caterpillars