from ~Homebrew~ Petals Around the Rose
Input all possible powers of 2 in order from lowest to highest