## Thinking Mathematically (6th Edition)

The set has $7$ elements.
A set has $127$ proper subsets. The formula for the number of proper subsets when the set has $n$ elements is: $2^n-1$. $2^n-1=127$ $2^n=128$ $2^n=2^7$ $n=7$ The set has $7$ elements.