The function for generating "or" tasks with left-shifted digit one