login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A140893 a(n) = prime(n)^prime(n+1) - prime(n+1)^prime(n). 2
-1, 118, 61318, 1957839572, 32730551749894, 8640511341348431996, 233592048827366522661214, 257755012474380136537664158772, 3091054326372819773383775097721670599074, 2141662167055484666186673758527328459608763158 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(n) > 0 for n>=2. - Robert Israel, Nov 02 2014

LINKS

Robert Israel, Table of n, a(n) for n = 1..70

EXAMPLE

n=1: a(1) = prime(1)^prime(1+1) - prime(1+1)^prime(1) = 2^3 - 3^2 = 8 - 9 = -1.

n=3: a(3) = prime(3)^prime(4) - prime(4)^prime(3) = 5^7 - 7^5 = 78125 - 16807 = 61318.

MAPLE

seq(ithprime(i)^ithprime(i+1)-ithprime(i+1)^ithprime(i), i=1..20); # Robert Israel, Nov 02 2014

MATHEMATICA

Array[Prime[ # ]^Prime[ #+1]-Prime[ #+1]^Prime[ # ]&, 16] (* Vladimir Joseph Stephan Orlovsky, Oct 11 2009 *)

PROG

(MAGMA) [NthPrime(n)^NthPrime(n+1)-NthPrime(n+1)^NthPrime(n): n in [1..10]]; // Vincenzo Librandi, Nov 02 2014

CROSSREFS

Cf. A000040, A007965, A143776.

Sequence in context: A062500 A007965 A013470 * A143776 A013476 A191949

Adjacent sequences:  A140890 A140891 A140892 * A140894 A140895 A140896

KEYWORD

sign

AUTHOR

Juri-Stepan Gerasimov, Jul 07 2008

EXTENSIONS

Corrected and extended by Vladimir Joseph Stephan Orlovsky, Oct 11 2009

a(10) from Vincenzo Librandi, Nov 02 2014

STATUS

approved

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

Content is available under The OEIS End-User License Agreement .

Last modified November 23 19:50 EST 2014. Contains 249865 sequences.