Turning number ranges into prefixes

Simon Cozens simon at simon-cozens.org
Wed Aug 23 15:31:06 BST 2006

David Cantrell:
> 1424222, 1424223, 1424224, 1424225.  That range includes all the numbers
> of the right length with those prefixes, and no others.  Is there a
> terribly clever way of generating the list?

String XOR the numbers together.

You want to read that stuff, fine. You want to create a network for such 
things, fine. You want to explore the theoretical boundaries of free speech, 
fine. But when it starts impacting *people* trying to *communicate*, then 
that is where I draw the line. 
    - Russ Allbery, http://www.eyrie.org/~eagle/writing/rant.html

More information about the london.pm mailing list