Divide room along one diagonal by urinating a rough line if bladder is full, or else cut your finger with your teeth and set the line that way. Similarly mark one side 'A' and the other side 'B.'
Remove undergarments and crumple into ball in both hands.
Stand in what appears to be the center of the room.
Select an unfamiliar song and spin around singing it with eyes closed until you can no longer remember any lyrics, at which point stop and use both hands to toss up the balled-up garment.
Open your eyes and search for the garment.
If the garment lands so that the 'front' appears to face up, append zero to the left of the number, else append one.
If garment lands in side A, flip all bits, and if garment lands in side B, flip only the bits of position equal to 1 mod c, (rightmost position called 0 for this purpose) where c is the value of the sub string of your current number generated from every third digit (positions 2, 5, and so on).
Repeat until the desired range is reached by the number of digits.
The method assumes that you have an incredible penchant for mental math.
Remove undergarments and crumple into ball in both hands. Stand in what appears to be the center of the room. Select an unfamiliar song and spin around singing it with eyes closed until you can no longer remember any lyrics, at which point stop and use both hands to toss up the balled-up garment.
Open your eyes and search for the garment.
If the garment lands so that the 'front' appears to face up, append zero to the left of the number, else append one.
If garment lands in side A, flip all bits, and if garment lands in side B, flip only the bits of position equal to 1 mod c, (rightmost position called 0 for this purpose) where c is the value of the sub string of your current number generated from every third digit (positions 2, 5, and so on).
Repeat until the desired range is reached by the number of digits.
The method assumes that you have an incredible penchant for mental math.