Asymptotic Analysis & Recurrences

Answer & solution
Official answer: A
Approach: First disclose the definition's defect, then solve the intended version with a constant-size stopping threshold.
1. Literally, the n≥1 branch applies at n=1 and says T(1)=T(1)+1, contradicting T(1)=1. Merely changing ≥ to > is still insufficient over exact real arguments: repeated square roots of n>1 approach 1 but never reach it in finitely many steps. A constant threshold greater than 1, or a specified integer-rounding convention with a valid base, is needed.
2. For the intended recurrence, divide by n and set F(n)=T(n)/n. Then √n·T(√n)/n=T(√n)/√n=F(√n), so F(n)=F(√n)+1.
3. After k expansions, F(n)=F(n1/2^k)+k. Reaching a fixed threshold c>1 requires log n/2k≤log c, so k=Θ(log log n).
4. A bounded base value gives F(n)=Θ(log log n), hence T(n)=Θ(n log log n).
Official intended answer: A. This derivation is conditional on the corrected stopping model; it does not solve the inconsistent recurrence exactly as printed. Existing discrepancy CS-2024-S1-Q42-BASE-CASE is preserved.