Partition of Integer into Powers of 2