OFFSET
0,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
MAPLE
with(numtheory); safeprime(ithprime(i));
MATHEMATICA
ssp[n_]:=Module[{p=NextPrime[Prime[n]]}, While[!PrimeQ[(p-1)/2], p=NextPrime[p]]; p]; Array[ssp, 50] (* Harvey P. Dale, Dec 22 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved