Solution:
Since an−1≡s(an−1) (all congruences are modulo 9), we have 2an−1≡an≡2008≡10, so an−1≡5. But an−1<2008, so s(an−1)≤28 and thus s(an−1) can equal 5, 14 or 23. We check s(2008−5)=s(2003)=5, s(2008−14)=s(1994)=23, s(2008−23)=s(1985)=23. Thus an−1 can equal 1985 or 2003.
As above 2an−2≡an−1≡5≡14, so an−2≡7. But an−2<2003, so s(an−2)≤28 and thus s(an−2) can equal 16 or 25. Checking as above we see that the only possibility is s(2003−25)=s(1978)=25. Thus an−2 can be only 1978.
Now 2an−3≡an−2≡7≡16 and an−3≡8. But s(an−3)≤27 and thus s(an−3) can equal 17 or 26. The check works only for s(1978−17)=s(1961)=17. Thus an−3=1961 and similarly an−4=1939≡4, an−5=1919≡2 (if they exist).
The search for an−6 requires a residue of 1. But an−6<1919, so s(an−6)≤27 and thus s(an−6) can be equal only to 10 or 19. The check fails for both s(1919−10)=s(1909)=19 and s(1919−19)=s(1900)=10. Thus n≤6 and the case n=6 is constructed above (1919, 1939, 1961, 1978, 2003, 2008).