cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A130607 a(n) = prime(n+1)^n + prime(n)^n.

Original entry on oeis.org

5, 34, 468, 17042, 532344, 28964378, 1304210412, 95294548322, 16308298637332, 1240335520281002, 203326098675865244, 29146442306206221362, 2643367226597304414564, 330552343531805913099818, 85200500239848987963203500, 25435446457194919247155743362, 3513844792272393084250431362040
Offset: 1

Views

Author

Cino Hilliard, Jun 17 2007

Keywords

Comments

Prime(n) is the n-th prime number.

Examples

			For n=2, prime(2+1)^2 - prime(2)^2 = 5^2 + 3^2 = 34, the second term.
		

Crossrefs

Programs

  • Mathematica
    Table[Prime[n+1]^n + Prime[n]^n, {n, 1, 20}] (* Amiram Eldar, Jun 30 2024 *)
  • PARI
    g2(n) = for(x=1,n,y=prime(x+1)^x+prime(x)^x;print1(y","))

Formula

a(n) = A062457(n) + A093360(n+1). - Amiram Eldar, Jun 30 2024

Extensions

More terms from Amiram Eldar, Jun 30 2024