If I go to the "all questions" page and sort by votes, I'm told there's 1,601,257 pages of questions:
However, if I click the link to go to the last page, I get a 404 error:
As questions are posted, the total number of pages goes up every few seconds. However, regardless of how many there are, clicking that last page link always gives a 404.
Ctrl-R
on the linked URL, I eventually get a page of questions (with "how to send 100,000 emails weekly?" at the bottom), but another refresh will sometimes give a 404. That would explain why this only occurs really on SO due to constant churn of low-quality questions.