Table of n, a(n) for n=1..6.
Exploring Primeness Project
The second prime that is 2 less than a power of 3 is 79, which is p(22), so 22 is second on the list.
Sequence in context: A290709 A163433 A187930 * A050773 A122241 A076525
Adjacent sequences: A022600 A022601 A022602 * A022604 A022605 A022606