OFFSET
1,2
EXAMPLE
1^prime(1)+prime(1) = 1^2+2 = 3 is prime, hence a(1) = 1.
1^prime(2)+prime(2) = 1^3+3 = 4 is not prime, but 2^prime(2)+prime(2) = 2^3+3 = 11 is prime, hence a(2) = 2.
k^prime(4)+prime(4) is not prime for k < 16, but 16^prime(4)+prime(4) = 16^7+7 = 268435463 is prime, hence a(4) = 16.
a(18)^prime(18)+prime(18) = 1348^61+61 has 191 digits.
PROG
(PARI) a177832(n) = {local(k=1, p=prime(n)); while(!isprime(k^p+p), k+=1); k}
CROSSREFS
KEYWORD
nonn
AUTHOR
Ulrich Krug (leuchtfeuer37(AT)gmx.de), May 14 2010
EXTENSIONS
Edited, non-specific references and keywords base, hard removed, PARI program and terms a(21) through a(55) added by the Associate Editors of the OEIS
STATUS
approved