Pillai's theorem states that consecutive terms in the increasing sequence of nonnegative integerpowers
of 2 and 3, with 1 included only once, have gaps that tend to infinity
nearly as rapidly as the terms themselves (Pillai 1931). Let be the th term of this sequence, which
begins 1, 2, 3, 4, 8, 9, 16, 27, 32, ... (OEIS A006899).
More precisely, for every ,
for all sufficiently large (Hardy 1999, pp. 78-81; Ellison 1970).