there are polynomial time methods to solve the min cut problem notably the edmonds karp algorithm indeed most primes should have this property and hence they are called ordinary