OFFSET
1,1
COMMENTS
a(n) is prime for n = 1,2,3,4, but for no other n < 500.
On the other hand, prime(n+1)^prime(n)+prime(n)+prime(n+1) is not prime for n < 500. - Robert Israel, Feb 27 2020
LINKS
Robert Israel, Table of n, a(n) for n = 1..75
FORMULA
EXAMPLE
a(3) = 5^7 + 5 + 7 = 78137.
MAPLE
seq(ithprime(i)^ithprime(i+1)+ithprime(i)+ithprime(i+1), i=1..20);
MATHEMATICA
Map[#[[1]]^#[[2]]+Total[#]&, Partition[Prime[Range[15]], 2, 1]] (* Paolo Xausa, Nov 02 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Feb 26 2020
STATUS
approved