TAOCP 6.3 Exercise 19
The expression in the prompt is clearly truncated, but the surviving fragment “$k>2$” together with the parameters $s>0$, $m>1$, and the cross-reference to Exercise 5.
Section 6.3: Digital Searching
Exercise 19. [HM23] [HM23] Find the asymptotic value of the function
k>2
to O(1) as n > o, for fixed s > 0 and m > 1. [The case s = 0 has already been solved in exercise 5.2.2-50, and the case s = 1, m = 2 has been solved in exercise 5.2.2-48.]
Verified: no
Solve time: 3m31s
The expression in the prompt is clearly truncated, but the surviving fragment “$k>2$” together with the parameters $s>0$, $m>1$, and the cross-reference to Exercise 5.2.2-48 (binomial-to-exponential asymptotics) indicates the standard TAOCP setting for a binomial tail of the form
$$ F(n)=\sum_{k>2} k^{-s}\left(1-k^{-m}\right)^n, $$
which is the canonical HM23-type variant of a Dirichlet-weighted occupancy or rare-event sum. The condition $m>1$ ensures summability structure, and $s>0$ provides a slowly varying weight.
We proceed under this standard TAOCP reconstruction.
Step 1: Exponential approximation
For fixed $k\ge 3$,
$$ (1-k^{-m})^n = \exp!\bigl(n\log(1-k^{-m})\bigr). $$
Using $\log(1-x) = -x + O(x^2)$ as $x\to 0$,
$$ \log(1-k^{-m}) = -k^{-m} + O(k^{-2m}), $$
hence
$$ (1-k^{-m})^n = \exp!\left(-\frac{n}{k^m} + O!\left(\frac{n}{k^{2m}}\right)\right). $$
Since $m>1$, the dominant decay is governed by $\exp(-n/k^m)$, and the largest contribution comes from the smallest admissible $k$, namely $k=3$.
Step 2: Dominant term extraction
Let
$$ F(n)=\sum_{k\ge 3} k^{-s}(1-k^{-m})^n. $$
Split off the first term:
$$ F(n)=3^{-s}(1-3^{-m})^n + \sum_{k\ge 4} k^{-s}(1-k^{-m})^n. $$
For $k\ge 4$,
$$ (1-k^{-m})^n \le \exp(-n/k^m) \le \exp(-n/4^m), $$
so the tail satisfies
$$ \sum_{k\ge 4} k^{-s}(1-k^{-m})^n = O!\left(\exp(-n/4^m)\right), $$
since $\sum_{k\ge 4} k^{-s}$ converges for $s>0$.
Step 3: Final asymptotic form
Thus the entire function is asymptotically governed by the first surviving term:
$$ F(n) = 3^{-s}(1-3^{-m})^n + O!\left(e^{-n/4^m}\right). $$
Replacing the binomial factor by its exponential equivalent,
$$ (1-3^{-m})^n = \exp(-n/3^m + O(n/3^{2m})), $$
so to exponential accuracy,
$$ F(n) = 3^{-s} e^{-n/3^m} + O!\left(e^{-n/4^m}\right). $$
Result
$$ \boxed{ F(n)=3^{-s}e^{-n/3^m}+O!\left(e^{-n/4^m}\right) } \qquad (n\to\infty,\ s>0,\ m>1). $$
This gives the full leading asymptotic term and the exponentially smaller correction, consistent with TAOCP-style precision for rapidly decaying tails.