|
Search: id:A130606
|
|
|
| A130606 |
|
Prime(n+1)^n - prime(n)^n. |
|
+0 1
|
|
| 1, 16, 218, 12240, 210242, 19310760, 483533066, 61327422240, 12705993314406, 398921053680600, 152509144883055582, 15980538294526150800, 793161021967277155922, 182781628843528905568920, 61073803538208251485772814
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
FORMULA
|
Prime(n) is the n-th prime number.
a(n)=A093360(n+1)-A062457(n). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 25 2008]
|
|
EXAMPLE
|
For n=2, prime(2+1)^2 - prime(2)^2 = 5^2 - 3^2 = 4^2, the second entry.
|
|
MAPLE
|
a := proc (n) options operator, arrow; ithprime(n+1)^n-ithprime(n)^n end proc: seq(a(n), n = 1 .. 15); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Jul 09 2007
|
|
PROGRAM
|
(PARI) g1(n) = for(x=1, n, y=prime(x+1)^x-prime(x)^x; print1(y", "))
|
|
CROSSREFS
|
Sequence in context: A080514 A081969 A076097 this_sequence A076073 A092657 A078266
Adjacent sequences: A130603 A130604 A130605 this_sequence A130607 A130608 A130609
|
|
KEYWORD
|
nonn,new
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)hotmail.com), Jun 17 2007
|
|
EXTENSIONS
|
More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Jul 09 2007
|
|
|
Search completed in 0.002 seconds
|