Back to the Problem
Solve the inequality directly with ceiling division — no loop needed.
Complexity: O(1) or O(log)