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!)
A097499 p^q + q^p for consecutive primes p and q. 0
17, 368, 94932, 1996813914, 36314872537968, 8660320497414243870, 244552822542936127033092, 257904243416235317958787975746, 3091062959814255272215316579358416079052 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,1

COMMENTS

The first term is the only prime in the sequence.

LINKS

Table of n, a(n) for n=2..10.

MATHEMATICA

lst={}; Do[p=Prime[n]; q=Prime[n+1]; a=p^q+q^p; AppendTo[lst, a], {n, 4!}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 16 2009 *)

First[#]^Last[#]+Last[#]^First[#]&/@Partition[Prime[Range[10]], 2, 1] (* Harvey P. Dale, Sep 20 2011 *)

PROG

(PARI) f(n) = for(x=1, n, p=prime(x); q=prime(x+1); v=p^q+q^p; print1(v", "))

CROSSREFS

Sequence in context: A293691 A002197 A070148 * A132541 A159244 A318043

Adjacent sequences:  A097496 A097497 A097498 * A097500 A097501 A097502

KEYWORD

nonn

AUTHOR

Cino Hilliard, Aug 24 2004

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 23 20:16 EST 2022. Contains 350515 sequences. (Running on oeis4.)