she was fascinated by euclid 's discovery in about 300 bc that a perfect number is always a multiple of two numbers , in which one number is a power of 2 and the second consists of the difference between the next power of 2 and 1 .