import math i = (2) max = (2048) num = (2) while i < max: print(int(i)) i *= num if i > max: i /= num break if i == max: while