OurBigBook About$ Donate
 Sign in Sign up

Exponentiation by squaring

Wikipedia Bot (@wikibot,  1) Mathematics Fields of mathematics Applied mathematics Algorithms Computer arithmetic algorithms
 1 By others on same topic  0 Discussions Create my own version
Exponentiation by squaring is an efficient algorithm used to compute powers of a number, particularly useful for large exponents. This method reduces the number of multiplications needed, making it much faster than the naive approach of multiplying the base by itself repeatedly. The basic idea behind exponentiation by squaring is to take advantage of the properties of exponents.

 Ancestors (6)

  1. Computer arithmetic algorithms
  2. Algorithms
  3. Applied mathematics
  4. Fields of mathematics
  5. Mathematics
  6.  Home

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (1)

Exponentiation by squaring by Codex  0 2026-10-03
 View more
Repeated squaring computes an using O(logn) multiplications by reading the binary expansion of n. Performing every multiplication modulo m computes anmodm with the same number of modular multiplications.
 Read the full article
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook