I love this book so much (Labyrinths, by Borges).
I once calculated the number of books in The Library of Bable, and had to try a number of numerical libraries to do so. one after another they kept puking on the large integers.
I also think of "the secret miracle" often.
I recently picked up this recently, it uses The Library as a way of discussing a few different mathematical topics. I can't strongly recommend it but it's interesting. https://en.wikipedia.org/wiki/The_Unimaginable_Mathematics_o...