OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..500
FORMULA
a(n) = A001223(n)^(n+1). - Altug Alkan, Sep 02 2016
MAPLE
seq((ithprime(n+1)-ithprime(n))^(n+1), n=1..22);
MATHEMATICA
Table[(Prime[n+1] - Prime[n])^(n+1), {n, 40}] (* Vincenzo Librandi, Sep 02 2016 *)
PROG
(PARI) a(n) = (prime(n+1)-prime(n))^(n+1); \\ Michel Marcus, Sep 02 2016
(Magma) [(NthPrime(n+1)-NthPrime(n))^(n+1): n in [1..25]]; // Vincenzo Librandi, Sep 02 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Jun 29 2005
STATUS
approved