OFFSET
1,1
COMMENTS
Primes arising in A125973.
EXAMPLE
Consider n = 10. k^n + k^(n-1) - 1 evaluates to 1, 1535, 78731, 1310719 for k = 1, ..., 4. Only the last of these numbers, 4^10+4^9-1 = 1310719, is prime, hence a(10) = 1310719.
PROG
(PARI) {for(n=1, 20, k=1; while(!isprime(a=k^n+k^(n-1)-1), k++); print1(a, ", "))} - Klaus Brockhaus, Dec 17 2006
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Dec 14 2006
EXTENSIONS
Edited and extended by Klaus Brockhaus, Dec 17 2006
STATUS
approved