The key to your question is lacunaritylacunarity in modular functions.
The tau function, as we know, occurs as the coefficient of the Discriminant functionDiscriminant function, which in turn is the 24th power of the Eta functionEta function. The Eta function was known to be lacunary (having gaps or zero coefficients). Therefore it was natural for Lehmer in 1947 to wonder if coefficients of powers of eta are also zero. See the opening passage of the following paper
MR0021027 (9,12b) Lehmer, D. H. The vanishing of Ramanujan's function $\tau(n)$. Duke Math. J. 14, (1947). 429--433. http://projecteuclid.org/euclid.dmj/1077474140