a(n) = Min{q|q is prime, p(n) is the n-th prime and q = 1+p(n)*2^b(n)}.
EXAMPLE
Sophie-Germain primes are here at n = 1, 2, 3, 5, 9, 10, .. etc. At n = 11, p(11) = 31 and in the sequence of q = 1+31*{2, 4, 8, 16, 32, 64, 128, 256} = {63, 125, 249, 497, 993, 1985, 3969, 7937}, the first prime is 7937, so b(11) = 8, a(11) = 7937.
MAPLE
a:= proc(n) option remember; local p, m, t; p:= ithprime(n);
for m do t:= 1+p*2^m; if isprime(t) then return t fi od