Sorry for the late reply... (I was and still am traveling...)
I didn't mean to (necessarily) submit those (other auxiliary) sequences, but rather to look at them to get an idea what a sufficiently "safe" search limit could be for individual a(n) and then maybe find a general formula for such a limit as function of n.
But yes, it would be a separate sequence for each n :
For given n, we want that:
for any m >= k = a(n) , m is the sum
To be confident that we've searched far enough to exclude that there is a larger m which is not the sum of exactly m primes,
I'd consider the sequence b(n,m) = number of times m is the sum of exactly n primes.
Remember that we are looking for the last zero in each row n, which would be in column k–1, where k = a(n).
Computing a given row far enough being that last zero should give enough confidence that there will be no further zero.
(Finally, yes, why not submit this table b(n,k) as a table/sequence on its own.
Note that the b(n,k) as I would suggest it has a different order of arguments compared to the T(.,.) you mentioned.)
- Maximilian