Say I rolling X number of 6 sided-dice. I'm attempting to get >=Y number of results of 5 or greater.

For instance, I'm trying to roll three dice and get two or more events. What's a reliable algorithm to determine the likelihood of that occurring? I'm trying to find a way to extrapolate that question for a game I'm making- so I can later apply it to four or five dice.