We know that we have lost one digit in an ISBN code, we can easily find it using the relation: $x_{10 } \equiv \sum_{i =1}^{9} i x_i \bmod 11$. For example, if we have the ISBN number $0-13-1a9139-9$ using the previous formula, $x_5=3$ (if my calculations are ok).
But, happens if we have 2 missing digits?
For example: $ 0-02-32ab80-0$.
How do we find $ a,b$?
Thank you.
Take $a$ arbitrary, between $0$ and $9$, and then solve for $b$. Sadly, this will give you a non-unique solution - one such $b$ for each $a$.