In mathematics, a power of two means a number of the form 2n where n is an integer, i.e. the result of exponentiation with as base the number two and as exponent the integer n.
In a context where only integers are considered, n is restricted to non-negative values, so we have 1, 2, and 2 multiplied by itself a certain number of times.
Because two is the base of the binary numeral system, powers of two are common in computer science. Written in binary, a power of two always has the form 100…0 or 0.00…01, just like a power of ten in the decimal system.
Read more about Power Of Two: Expressions and Notations, Computer Science, Mersenne Primes, Euclid's Elements, Book IX, The First 96 Powers of Two, Powers of 1024, Powers of Two Whose Exponents Are Powers of Two, Some Selected Powers of Two, Fast Algorithm To Check If A Positive Number Is A Power of Two, Algorithm To Convert Any Number Into Nearest Power of Two Number, Algorithm To Round Up To Power of Two, Other Properties
Famous quotes containing the words power of and/or power:
“Our credulity is greatest concerning the things we know least about. And since we know least about ourselves, we are ready to believe all that is said about us. Hence the mysterious power of both flattery and calumny.”
—Eric Hoffer (19021983)
“The time must come, my friend ... when brutality and the lust for power must perish by its own sword.... For when that day comes, the world must begin to look for a new life, and it is our hope that they may find it here. For here we shall be, with their books, and their music, and a way of life based on one simple rule: Be kind.”
—Robert Riskin (18971955)