Sampling substrings of a beaded necklace to determine the necklace composition

70 Views Asked by At

I have a necklace composed of 100 beads, where each bead is one of 13 colors. If I am only able to look at one 4 bead sub-sequence at a time (connected, as they would be on the necklace) , how many such samplings are required until I am 99% sure I have seen all the 4 bead sub-sequences? Each bead color is guaranteed to be represented at least once.