login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A180203
Differences between prime powers of primes, offsetting the prime and the power by only one. (For purposes of this sequence, 0 and 1 are treated as primes; see Formula.)
0
1, 1, 7, 116, 16682, 19470364, 1792140906866, 9902785872511900, 5480376953206769280002, 74609990540732925759722548, 4316720643133944843150107810831502
OFFSET
1,3
COMMENTS
Except for the first few terms, first differences of A078422. - Franklin T. Adams-Watters, Mar 08 2014
FORMULA
a(n)= {EP(n+2)^EP(n+1)}-{EP(n+1)^EP(n)}, where EP(1) = 0, EP(2) = 1, and EP(n) = Prime(n-2) for n > 2.
EXAMPLE
n=7 13^11 - 11^7 = 1 792 160 394 037 - 19 487 171 = 1 792 140 906 866.
CROSSREFS
Sequence in context: A251585 A320083 A329543 * A070067 A027502 A050285
KEYWORD
nonn
AUTHOR
Rick Stephens (rickstphns68(AT)hotmail.com), Aug 15 2010
EXTENSIONS
a(8)-a(11) from Robert G. Wilson v, Aug 23 2010
STATUS
approved