Uh oh! Wolfram|Alpha doesn't run without JavaScript.
Please enable JavaScript. If you don't know how, you can find instructions
here
.
Once you've done that, refresh this page to start using Wolfram|Alpha.
Count[Tuples[{r,g,y},5],{___,g,g,___}]
Count[Tuples[{r,g,y},5],{___,g,g,___}]
Natural Language
Math Input
Extended Keyboard