login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Prime(n) is the n-th prime number.
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 3 20:33 EDT 2024. Contains 374905 sequences. (Running on oeis4.)