login
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