The one line expression is: ((0 != n) && !(n & n-1)) example: int main () { for (int n = 0; n <= 1000001; ++n) { if ((0 != n) && !(n & n-1)) cout << n << " is a power of 2" << endl; } return 0; } will produce: 1 is a power of 2 2 is a power of 2 4 is a power of 2 8 is a power of 2 16 is a power of 2 32 is a power of 2 64 is a power of 2 128 is a power of 2 256 is a power of 2 512 is a power of 2 1024 is a power of 2 2048 is a power of 2 4096 is a power of 2 8192 is a power of 2 16384 is a power of 2 32768 is a power of 2 65536 is a power of 2 131072 is a power of 2 262144 is a power of 2 524288 is a power of 2
2 to the 2 power = 4 -3 to the 2 power = 9 4 to the 2 power = 16 You don't indicate what to do to the 4, but 9 + 16 = 25
2 to the power of -2 is 0.25
Just 2 2 to power 3 is 2x2x2=8 2 to power 2 is 2x2=4 2 to power 1 is 2
5 to the power of 2 plus 15 to the power of 2 = 250
i think it will change later on because of how the 109th congress is made up.
T109 = 109*(109+1)/2 = 5995
109th Congress
The Society
They don't kno and I don't know. Who know's?
A Trip to the General Store
The mayor of New York is Bill de Blasio and is the 109th mayor.
Mayfield Inn and Suites, 16615 - 109th Avenue, Edmonton, Alberta
Patricia's BC Fruits, at the downtown farmers market on 109th : )
yup, that dude was from 109th Denver Lane. He's tried and true. RIP homie.
Frederick L. Hitchcock has written: 'History, 13th Regiment, National Guard of Pennsylvania and 109th Inf., 108th M.G.Bn., U.S.A.E.F., and 109th Pennsylvania National Guard, 1877-1923' -- subject(s): History, Pennsylvania, Pennsylvania. National Guard. Regiment, 13th
at the Mayfield Inn and Suites, 16615 - 109th Avenue, Edmonton, Alberta