I’m attempting to solve the following question: $a_n$ is a sequence of rational numbers, for better understanding let’s write it as: $p_n/q_n$ (where $p<n$ and $q_n$ are sequences over the naturals $\Bbb N$). If the limit of an (when $n$ diverges (to infinity)) is $r$ which is an irrational number : $$\lim a_n = r| r\in \Bbb R\setminus\Bbb Q$$ Does that mean that $p_n$ and $q_n$ both diverge (to infinity)?
I’ve found many examples that support this theorem but examples aren’t proof so I’m not sure if it’s actually true and why? Is there a way to prove it or is it just a known fact?
If both $p_n$ and $q_n$ are bounded, then, by virtue of them being integers, there are only a finite number of values that $(p_n, q_n)$ can assume. So $\frac{p_n}{q_n}$ can only assume a finite number of values (all rational numbers), which means that the limit $r$ has to be rational (and in fact, the sequence is constant and equal to $r$ for large values of $n$).
If exactly one of $p_n$ or $q_n$ is bounded, then $r$ is either $0$ or $+\infty$, neither of which is an irrational.
Conclusion: Both have to be unbounded.
As @orangeskid said, since every subsequence is unbounded, the sequences tend to infinity.