Solution:
Answer: 665108
First we note that the probability that n is picked is 21×(32)n, because this is the sequence whose terms decrease by a factor of 32 each time and whose sum is 1 (recall that probabilities must sum to 1).
Now note that 71=.142857142857…, meaning that 2 occurs at digits 3,9,15,21, etc. We can then calculate the probability that we ever pick 2 as
k=0∑∞21⋅(32)6k+3=274k=0∑∞(32)6k=274⋅1−(32)61=274⋅729−64729=274⋅665729=665108