# Year in a sequence (2)

Algebra Level 3

In a sequence $$Q$$, we have $$a_1=3$$ and $$a_n= 2a_{n-1}+2$$.

After writing 2017 terms, how many times does the digit 8 appear in the units digit?

×