login
A109585
a(n) = ( prime(n+1) - prime(n) )^(n+1).
1
1, 8, 16, 1024, 64, 16384, 256, 262144, 60466176, 2048, 2176782336, 67108864, 16384, 1073741824, 2821109907456, 16926659444736, 262144, 609359740010496, 1099511627776, 2097152, 131621703842267136, 70368744177664, 4738381338321616896, 37778931862957161709568, 4503599627370496
OFFSET
1,2
LINKS
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
Cf. A001223.
Sequence in context: A371009 A369646 A061747 * A284438 A375103 A236285
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Jun 29 2005
STATUS
approved