One of the strange proof (among the other beautiful proof) in the book "Proofs from the book" is the fifth one which use special topology on integer number to prove there are infinite prime numbers. My question is: Is this method special just for this case or there are something deeper and this technique (or its generalization) can be used for some other kinds of problems?