107 is the 28th prime number. The next prime is 109, with which it comprises a twin prime, making 107 a Chen prime. Plugged into the expression 2 p − 1 {\displaystyle 2^{p}-1}, 107 yields 162259276829213363391578010288127, a Mersenne prime. 107 is itself a safe prime. It is the fourth Busy beaver number, the maximum number of steps that any Turing machine with 2 symbols and 4 states can make before eventually halting. It is the number of triangle-free graphs on 7 vertices. It is the ninth emirp, because reversing its digits gives another prime number