$\sum_{n=1}^{\infty} \frac{\varphi(n)}{n}$ where $\varphi(n)$ is 1 if the variable $\text n$ has the number $\text 7$ in its typical base-$\text10$ representation, and $\text0$ otherwise.
I am supposed to find out if this series converges or diverges. I think it diverges, and here is why.
We can see that there is a series whose partial sums are always below our series, but which diverges. Compare some of the terms of each sequence
$\frac{1}{7} > \frac{1}{8}$
$\frac{1}{70} > \frac{1}{80}$
$\frac{1}{71} > \frac{1}{80}$
$\frac{1}{72} > \frac{1}{80}$
$\text ... $
$\frac{1}{79} > \frac{1}{80}$
$\text ... $
$\frac{1}{700} > \frac{1}{800}$
$\text ... $
And continue in this way.
Obviously some terms are left out of the sequence on the left, which is fine since our sequence of terms on the left is already greater than the right side. Notice the right side can be grouped into
$\frac{1}{8} + \frac{1}{8} + ... $ because we will have $10$ $\frac{1}{80}$s, $100$ $\frac{1}{800}$s, etc etc. Thus we are adding up infinitely many 1/8s. This is similar to the idea of the divergence of the harmonic series. So, my conclusion is that it diverges. A bunch of other students in my real analysis class have come to the conclusion that is, in fact, convergent, and launched into a detailed verbal explanation about comparison with a geometric series that I couldn't follow without seeing their work. Is my reasoning, like they suspect, flawed? I can't see how.
Sorry about the poor format, I'm new to TeX and couldn't figure out how to format a piecewise function (it was telling me a my \left delimiter wasn't recognized).