v3 - Highest number in range of 2^n or if no value of 2^n in the range manually go through each value (the range will be small enough for this to be fast)