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
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: A365678 A002197 A070148 * A132541 A159244 A318043
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)