I want to know a book where "interesting" ways to select a sample are present, like selecting a sample using a coin (biased or unbiased) or sampling from a population where two groups are present, and each group is represented in the sample. An example would be, say, there are two age groups, and two genders in a population, and I want to select a sample such that inclusion probabilities are same for all units in the population, and both genders and both age groups are represented in my sample.
I have searched a lot and could not find any reference on how to systematically draw such samples. I think there should be a systematic algorithm for these, otherwise the solutions turn out to be too random and based on guessing.