login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A109587
a(n)=[prime(n+2)-2*prime(n+1)-prime(n)]^(n+1), where prime(k) is the k-th prime.
0
9, -216, 4096, -1048576, 64000000, -13492928512, 1099511627776, -101559956668416, 97656250000000000, -11384956040305711104, 4722366482869645213696, -2822127947962858105470976, 439804651110400000000000000, -73145782610367634657744257024
OFFSET
1,1
EXAMPLE
a(2)=-216 because (7-2*5-3)^3=(-6)^3=-216.
MAPLE
a:=n->(ithprime(n+2)-2*ithprime(n+1)-ithprime(n))^(n+1): seq(a(n), n=1..14);
MATHEMATICA
a = Table[Abs[(Prime[n + 2] - 2*Prime[n + 1] - Prime[n])^PrimePi[Prime[n + 1]]], {n, 1, 25}]
CROSSREFS
Sequence in context: A320096 A327198 A188409 * A067426 A250548 A007108
KEYWORD
sign
AUTHOR
Roger L. Bagula, Jun 29 2005
STATUS
approved