Mock AIME 2 2010 Problems/Problem 4
Anderson is bored in physics class. His favorite numbers are , and . He writes , and randomly appends one of his favorite numbers to the end of the decimal he has already written. Since physics class is infinitely long, Anderson writes an infinitely long decimal number. (An example of such a number is ) If the expected value of the number Anderson wrote down is of the form , where and are relatively prime positive integers, find .