TITLE: If a sequence grows too fast, then its harmonic sum cannot be rational
QUESTION [8 upvotes]: Let $A = \{a_i\}_{i = 1}^{\infty}$ be a sequence of positive integers. If the terms in $A$ grow 'too fast', can we determine that 
$$S_A = \sum_{i = 1}^{\infty} \frac{1}{a_i}$$ is irrational ? More formally, is there a criteria that says if $a_i = \Omega(f(i)),$ then $S$ is irrational ? If not, for every sequence $A$ such that $S_A$ converges to a rational number, can we find a sequence of positive integers $B = \{b_i\}_{i = 1}^{\infty}$ such that 
$$\lim_{n \rightarrow \infty} \frac{a_n}{b_n} = 0 \ $$ and $S_B$ also converges to a rational number ?
This question was inspired by the following fact:

$\sum_{k = 1}^{\infty} \frac{1}{(k!)^2}$ and $\sum_{k = 1}^{\infty} \frac{1}{2^{k^2}}$ are both irrational.

REPLY [3 votes]: If a number is rational, say $\frac{p}{q}$, then $\left|\frac{p}{q}-\frac{m}{n}\right|\geq\frac{1}{nq}$. So the difference from any test rational $\frac{m}{n}$ times the denominator $n$ has to be bounded below unless you hit your number spot on. If we find an increasing sequence of rational numbers for which that is not the case, then the limit is irrational.
So assuming the sequence grows as fast as a geometric series (that's a reasonable enough assumption of growth) so that the sum can be estimated by the next term, if you have $\frac{\text{lcm}(a_1, \ldots a_n)}{a_{n+1}}\rightarrow0$ as $n\rightarrow\infty$, then the sum $\sum_{i=1}^{\infty}\frac{1}{a_i}$ is irrational.
These cover the two cases in your question, though neither is doubly exponential. It even shows that $e$ is irrational. But it doesn't quite answer the question. It does, however, provide a set of $f(i)$'s that are good enough. Specifically, we can let $f(i)$ be a sequence for which $f(i)^{1/2^i}$ increases to $\infty$. Because if we have a sequence of $a_i>f(i)$, then for any $\epsilon$ we take the smallest $i$ for which $a_i>\left(\frac{1}{\epsilon}\right)^{2^{i-1}}$ which exists; then
$\frac{\text{lcm}(a_1,a_2,\ldots a_{i-1})}{a_i}<\frac{a_1a_2\ldots a_{i-1}}{a_i}<\frac{\left(\frac{1}{\epsilon}\right)^1\left(\frac{1}{\epsilon}\right)^2\ldots\left(\frac{1}{\epsilon}\right)^{2^{i-2}}}{\left(\frac{1}{\epsilon}\right)^{2^{i-1}}}=\epsilon$
And this is good enough, because we only need a subsequence of the above to tend to 0, not the entire sequence. So for any sequence $u(i)$ increasing to infinity, $u(i)^{2^i}$ works.