Until now there is no efficient formula for determining the prime numbers. I show an efficient formula that takes only prime number values or multiples of 5, 7 and 11, and results in the successive prime number or a multiple of 5, 7 and 11. It is shown that by performing the same operation on a number that is a multiple of a prime number when using the formula will result in the next successive prime number value. The formula also identifies a pattern allowing mathematicians to begin at any random prime number and find the next successive prime number without fail. MSC: 11-xx