I have this homework problem: Let $A \subseteq \mathbb{R}$ be a set of real numbers which is bounded above, and let $a = \sup A$. Show that there is a sequence $(a_n)$ so that $a_n \in A$ for each $n$ and $a_n \rightarrow a$. [Hint: Use the fact that $a − \frac{1}{n}$ is not an upper bound of $A$ to find $a_n$ , and check that the sequence you get converges to $a$.]
I understand the question what I don't get is how am I to properly use $a-\frac{1}{n}$ to determine $a_n$? I worked that through to arrive at $\frac{an-1}{n}$ but this seems to produce lunacy. For example,
$$ \begin{align} a_1 &= a-1 \\ a_2 &= \frac{a2-1}{2} \\ a_3 &= \frac{a3-1}{3} \\ \end{align} $$
Which is just gibberish. I've stared at this long enough; it's time for help. What simple thing am I not seeing?