With the standard metric, series ...999 diverges. But using the 10-adic metric, it converges to -1.
Now you might think that ...999 = -1 is a useless gimmick, but it is actually useful.
Imagine you want to determine if a really large number N, written in base 10, is prime. You will check if it is divisible by 2, 3, 5, 7, etc. all the way to sqrt(N).
For 2 and 5 this is trivial, it can be done in O(1) time by checking the last digit. For 3, it is very easy, you just sum the digits repeatedly. For 11, you consider that the number is written in base 100 instead of 10 and you just do the same process. It works because 99 is a multiple of 11. But what about 7, and 13?
To find out, we will write -1/7 as a 10-adic number.
-1 = ...999 so we will find a number X such that 7X = ...999
First digit: 7x7 = 49 = 9 mod 10 so it is 7.
Second digit: 350 + 49 = 399 = 99 mod 100 so it is 5.
Third: 5600 + 399 = 5999 = 999 mod 1000 so 8.
Then 2, then 4, then 1, and that is where we loop back to 7 and the digits repeat.
So 1̅4̅2̅8̅5̅7̅ = -1/7 .
We showed that 7 x 1̅4̅2̅8̅5̅7̅ = 9̅9̅9̅9̅9̅9̅ . And that 999999 is a multiple of 7.
We could have shown the same by calculating 1/7 using the standard expansion towards the right, but it is much harder, because long division is much more complex than the calculation we just did, which is easily done without writing anything down, all you have to do is find the multiple of 7 which completes a given number to get 9. It is a much easier process.
Now that we know that 999999 is a multiple of 7, we consider our large number as written in base 1,000,000 and add its digits in this base repeatedly till we reach a number smaller than 1,000,000 . (Then you can use the fact that 98 is a multiple of 7 and cut it in three two-digit slices, multiply the first by 4, the second by 2, the third by 1, add them repeatedly till you get a two-digit number, multiply the left digit by 3 and add it to the right one repeatedly till you get 7, or another number which will be equal to N modulo 7).
This may seem like a complex process, but try it by hand for a large number and you will see that it is much faster than long division.
Exercice: ...999 divided by 13:
3 (complete 3),2 (complete 2),9 (complete 11),6 (complete 8),7 (complete 9),0 (complete 0), and we loop. This was done mentally, and it is much easier than calculating 1/13 with the digits expanding to the right, as you might be used to.
So 13 x 0̅7̅6̅9̅2̅3̅ = 9̅9̅9̅9̅9̅9̅ . This means that you check for divisibility by 13 in the same way as divisibility by 7, by cutting it in slices of six digits. (Then use the fact that 1001 is a multiple of 13 (of 7 and 11 also), cut your six-digit number into two slices of three digits, subtract the left part from the right part repeatedly and you are good to go, you will find the remainder of N divided by 13 in the end (with three digits multiply the left digit by 9 and add it to the two-digit number on the right since 91 is a multiple of 13)).
Note that this method works with any number n to find the remainder of the division of a large number by n.
Anyway, ...999 = -1 is useful for a quick algorithm to find the remainder of the division of a large number by a small number.
Note: The 10-adic metric of an integer x, |x|, is equal to 10^(-n(x)) with n(x) being the maximum value k such that 10^k divides x. If x is a fraction x = p/q, n(x) = n(p) - n(q).
Anyway | ∑ 9x10^k - (-1) |, with the sum from k=0 to n, converges to 0 as n goes to infinity.