Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A097499
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A097499 p^q + q^p for consecutive primes p and q. +0
1
17, 368, 94932, 1996813914, 36314872537968, 8660320497414243870, 244552822542936127033092, 257904243416235317958787975746, 3091062959814255272215316579358416079052 (list; graph; listen)
OFFSET

2,1

COMMENT

The first term is the only prime in the sequence.

MATHEMATICA

lst={}; Do[p=Prime[n]; q=Prime[n+1]; a=p^q+q^p; AppendTo[lst, a], {n, 4!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Aug 16 2009]

PROGRAM

(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: A120287 A002197 A070148 this_sequence A132541 A159244 A012639

Adjacent sequences: A097496 A097497 A097498 this_sequence A097500 A097501 A097502

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Aug 24 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research