Counting, Probability & Sets

Answer & solution
Official answer: C
Our answer: 7^k/(9·10^(k−1)); C only for digit strings
1. The seven permitted digits are 1,2,3,4,6,7,8. For length-k independent uniformly selected decimal digit strings, each position succeeds with probability 7/10, yielding (0.7)k, official C.
2. For a uniformly selected positive k-digit integer, however, the first digit has only nine possible values. Its success probability is 7/9; each remaining digit succeeds with probability 7/10.
3. Thus the literal integer answer is (7/9)(7/10)k−1=7k/(9·10k−1)=(10/9)(0.7)k, absent from the choices. At k=1 this is 7/9 rather than 0.7, exposing the mismatch. Preserve the official answer and this sample-space caveat separately.