10^7 cases, but almost every case has billions of digits.
Even that doesn't seem so bad though, it's on the order of 10^16 total digits to check in the worst case, and far fewer in practice.
Maybe someone here can run a program overnight and increase the bound by another few orders of magnitude, or disprove the hypothesis?