An experiment consists of rolling a die until 3 appears, determine how many elements of the sample space correspond to the event that the 3 appears no later than the k-th roll of the die.

5^0+5^1+5^2+ ... + 5^{k-1} = (5^k-1)/4

I'm wondering is there any other ways to do this question? Maybe involve complements somehow?

thanks