How do they get the exponential time claim? Is this a mistake in my lecture notes? I am told that to multiply two k-bit integers roughly takes $≤2k^2$ bit operations; thus shouldn't $b-1$ multiplications take $≤(b-1)2k^2$ bit operations = $O(k^2)$?
2026-04-02 20:27:46.1775161666
Why is computing powers in modular arithmetic $O(2^k)$?
75 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2

Your question is a fair one. Based on your subsequent comments, I don't think you're grossly misunderstanding big-Oh notation, but rather the book is eliding a couple of ideas into a brief sentence, which perhaps a bit unfair for an introductory textbook thought it would be well-understood in the context of a journal paper.
Based on the structure of the sentence, which ends with "not polynomial time", it would be reasonable for a reader to assume that the $O(2^k)$ also refers to time complexity, but as you point out the actual time complexity is $O(k^2 \cdot 2^k) \ne O(2^k)$. As an experienced reader, I could easily imagine the author making the following chain of thoughts while writing this sentence:
IMO you are absolutely right to be a bit confused by this, since generally math textbooks are written in precise language. Of course, authors and editors are still very much human and you can't assume there are no mistakes or slightly imprecise wordings such as this one.