I have a vector like this

```
c(0,1,2,0,0,2,2,2,2,2,2,1,0,1,2,2,2,2,2,1)

```

I would like to find the position where a series of at least three consecutive 2's, c(2,2,2), starts and if it is interupted I would like to find the next first postion.

The return vector should look something like this:

```
FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE

```

I have tried match and several other functions but without success