Looking at the standings with the Bills at 9-2, Dolphins 4-6, Jets and Pats both 3-8.
The magic number is 2. Any combination of Bills wins or Dolphins losses equaling 2 means they can't catch the Bills especially since the Bills swept them. If the Pats and Jets both ran the table (they obviously wont) the best they could do is 9-8. All the Bills need is 1 win, and those teams can't catch them. I guess we need the Pats to pull off the upset over the Dolphins this week reducing the magic number over Miami to 1. If that happens then the Bills can officially clinch the division vs SF.