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!)
A166330 a(n) = (prime(n+1)+1)^(prime(n+1)-1) - (prime(n)-1)^(prime(n)+1). 1
15, 1280, 258048, 61915684608, 55693912375296, 121438247178129702912, 257421633517130354786304, 2315500753239971319979258675200, 228767924384358907355717734220022985785344, 1401261602585169235166028950498857285425561600 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(2) = 6^4 - 2^4 = 1280. a(3) = 8^6 - 4^6 = 258048.
MATHEMATICA
lst={}; Do[n=Prime[k]; m=Prime[k+1]; a=(m+1)^(m-1)-(n-1)^(n+1); AppendTo[lst, a], {k, 16}]; lst
PROG
(Magma) [(NthPrime(n+1)+1)^(NthPrime(n+1)-1)-(NthPrime(n)-1)^ (NthPrime(n)+1):n in [1..10]]; // Vincenzo Librandi, May 10 2016
CROSSREFS
Sequence in context: A273967 A273963 A220179 * A300618 A232147 A232288
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition rephrased by R. J. Mathar, Oct 14 2009
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 May 6 13:11 EDT 2024. Contains 372293 sequences. (Running on oeis4.)