The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A097499 p^q + q^p for consecutive primes p and q. 0

%I

%S 17,368,94932,1996813914,36314872537968,8660320497414243870,

%T 244552822542936127033092,257904243416235317958787975746,

%U 3091062959814255272215316579358416079052

%N p^q + q^p for consecutive primes p and q.

%C The first term is the only prime in the sequence.

%t 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 *)

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

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

%K nonn

%O 2,1

%A _Cino Hilliard_, Aug 24 2004

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.

Last modified May 21 05:07 EDT 2022. Contains 353887 sequences. (Running on oeis4.)