Here's a precursor to The Prisoner, from Judge's Library, 1907. A "man without a number" suddenly finds himself in a strange place, not remembering how he got there but under the impression that he came from another sort of world. His mind flashes to events that happened previously. He is greeted by a woman who informs him that in this place, "we are all numbered," and that strangers are welcome if they are likely to become good citizens. (Bad citizens are referred to the "committee of three hundred.") Residents display their numbers on the hems of their garments so that they can be seen. She points out Number One walking down the street, "a very important personage." The man without a number is told that his own number would be (not the Prisoneresque Number Six) but Twenty-three. He then wakes up from what turned out to be a pipe dream. Note that the character's name, "Lyomelph Cospatrick," could be read as containing an unlikely prediction of Patrick McGoohan.