That might not be very meaningful regarding the sequence of primes. For every algorithm there is an equivalent series of mathematical operations, or, if you combine these statements, a mathematical function. Hence, if an algorithm can "spit out" all the primes, then there is a mathematical function that produces that sequence. However this mathematical function can very well be infinite. This is the case with the sequence of primes. There is a very simple algorithm that outputs all the primes. Namely one that iterates through all the positive integers and divides each number by those that come before it (and are bigger than one), outputting a number when it is not divisable.
In order to output the sequence of all the primes this algorithm would need infinite time, an infinite sequence of operations and thus be equivalent to an infinite mathematical function.
What pattern exists there then?
If instead we wanted to output the first 100 primes, than the above algorithm would take less than 1000 operations, the equivalent mathematical function have in the order of 1000 operations. Would the sequence have a pattern?
For every sequence there is an algorithm that outputs all the elements in that sequence, it may require infinite memory and infinite time, but it will output all the elements in that sequence, does every sequence have a pattern then?
My definition of a pattern is something that is repeated. Yet, for every sequence of numbers without repetition, such as the primes, the digits of pi, etc, there is an algorithm capable of outputting that sequence.
I would say, if an algorithm can output any n elements of a sequence in O(n) time, with finite memory, then the sequence has a simple pattern. If it requires more then i don't know, but it certainly isn't a simple pattern.