This exercise concerns pattern appearance. Suppose that random digits are generated from the set {0, 1, , 9} independently and successively. Find the expected number of digits to be generated until the pattern
(a) 007 appears,
(b) 156156 appears,
(c) 575757 appears.