login
A130607
a(n) = prime(n+1)^n + prime(n)^n.
0
5, 34, 468, 17042, 532344, 28964378, 1304210412, 95294548322, 16308298637332, 1240335520281002, 203326098675865244, 29146442306206221362, 2643367226597304414564, 330552343531805913099818, 85200500239848987963203500, 25435446457194919247155743362, 3513844792272393084250431362040
OFFSET
1,1
COMMENTS
Prime(n) is the n-th prime number.
FORMULA
a(n) = A062457(n) + A093360(n+1). - Amiram Eldar, Jun 30 2024
EXAMPLE
For n=2, prime(2+1)^2 - prime(2)^2 = 5^2 + 3^2 = 34, the second term.
MATHEMATICA
Table[Prime[n+1]^n + Prime[n]^n, {n, 1, 20}] (* Amiram Eldar, Jun 30 2024 *)
PROG
(PARI) g2(n) = for(x=1, n, y=prime(x+1)^x+prime(x)^x; print1(y", "))
CROSSREFS
Sequence in context: A276753 A226554 A211037 * A211042 A086345 A295545
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jun 17 2007
EXTENSIONS
More terms from Amiram Eldar, Jun 30 2024
STATUS
approved