The Coin problem. Take a fair "base" sided coin, generate a number in that base, until a predefined sequence is found. What is the probability that number is a multiple of k.