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.

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

Original entry on oeis.org

8, 243, 78125, 1977326743, 34522712143931, 8650415919381337933, 239072435685151324847153, 257829627945307727248226067259, 3091058643093537522799545838540043339063, 2159424054808578564166497528588784562372597429
Offset: 1

Views

Author

Enoch Haga, Mar 18 2000

Keywords

Examples

			a(3)=78125 because 5 is the 3rd prime, 7 is the 4th prime and 5^7=78125.
		

Crossrefs

Programs

  • Mathematica
    #[[1]]^#[[2]]&/@Partition[Prime[Range[10]],2,1] (* Harvey P. Dale, Jul 10 2015 *)
  • PARI
    a(n) = my(p=prime(n)); p^nextprime(p+1); \\ Michel Marcus, Feb 27 2020

Formula

a(n) = A000040(n)^A000040(n+1). - Omar E. Pol, Feb 27 2020

Extensions

One additional term (a(10)) from Harvey P. Dale, Jul 10 2015