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!)
A088385 a(n) = prime(n+1)^prime(n+1) - prime(n)^prime(n). 2
23, 3098, 820418, 285310847068, 302589794921642, 827239959011230171924, 1977592415398427252359802, 20880466021428256374041443786588, 2567686153140330666561980302696661093572902 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..75

FORMULA

a(n) = A051674(n+1) - A051674(n). - R. J. Mathar, Apr 26 2007

EXAMPLE

a(5) = prime(6)^prime(6) - prime(5)^prime(5) = 13^13 - 11^11 = 302589794921642.

MATHEMATICA

With[{P=Prime}, Table[P[n+1]^P[n+1]-P[n]^P[n], {n, 30}]] (* Vladimir Joseph Stephan Orlovsky, Mar 01 2009 *)

PROG

(Magma) P:=NthPrime; [P(n+1)^P(n+1) - P(n)^P(n): n in [1..20]]; // G. C. Greubel, Dec 12 2022

(SageMath) P=nth_prime; [P(n+1)^P(n+1) - P(n)^P(n) for n in range(1, 21)] # G. C. Greubel, Dec 12 2022

CROSSREFS

Cf. A000040, A000312, A051674.

Sequence in context: A232362 A233226 A233446 * A030461 A152521 A267692

Adjacent sequences: A088382 A088383 A088384 * A088386 A088387 A088388

KEYWORD

easy,nonn

AUTHOR

Christopher M. Tomaszewski (cmt1288(AT)comcast.net), Nov 08 2003

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 March 22 14:53 EDT 2023. Contains 361430 sequences. (Running on oeis4.)