OFFSET
1,1
COMMENTS
Primes of the form prime(n)^n - 2: 3, 7, 61, 67, 71, 73, 127, ...
EXAMPLE
a(1) = 3 because prime(3)^1 - 2 = 3 and 3 is prime,
a(2) = 1 because prime(1)^2 - 2 = 2 and 2 is prime,
a(3) = 8 because prime(8)^3 - 2 = 6857 and 6857 is prime.
PROG
(PARI) a(n) = my(k = 1); while(! isprime(prime(k)^n-2), k++); k; \\ Michel Marcus, May 23 2015
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, May 22 2015
STATUS
approved