Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #7 Jun 30 2024 03:30:30
%S 5,34,468,17042,532344,28964378,1304210412,95294548322,16308298637332,
%T 1240335520281002,203326098675865244,29146442306206221362,
%U 2643367226597304414564,330552343531805913099818,85200500239848987963203500,25435446457194919247155743362,3513844792272393084250431362040
%N a(n) = prime(n+1)^n + prime(n)^n.
%C Prime(n) is the n-th prime number.
%F a(n) = A062457(n) + A093360(n+1). - _Amiram Eldar_, Jun 30 2024
%e For n=2, prime(2+1)^2 - prime(2)^2 = 5^2 + 3^2 = 34, the second term.
%t Table[Prime[n+1]^n + Prime[n]^n, {n, 1, 20}] (* _Amiram Eldar_, Jun 30 2024 *)
%o (PARI) g2(n) = for(x=1,n,y=prime(x+1)^x+prime(x)^x;print1(y","))
%Y Cf. A062457, A093360.
%K nonn
%O 1,1
%A _Cino Hilliard_, Jun 17 2007
%E More terms from _Amiram Eldar_, Jun 30 2024