A power of two is a number of the form 2n where n is an integer, that is, the result of exponentiation with number two as the base and integer n as the exponent.
Powers of two with non-negative exponents are integers: 20 = 1, 21 = 2, and 2n is two multiplied by itself n times.[1][2] The first ten powers of 2 for non-negative values of n are:
By comparison, powers of two with negative exponents are fractions: for a negative integer n, 2n is one half multiplied by itself n times. Thus the first few powers of two where n is negative are 1/2, 1/4, 1/8, 1/16, etc. Sometimes these are called inverse powers of two because each is the multiplicative inverse of a positive power of two.