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.)
1, 1, 7, 116, 16682, 19470364, 1792140906866, 9902785872511900, 5480376953206769280002, 74609990540732925759722548, 4316720643133944843150107810831502
Offset: 1
Keywords
Examples
n=7 13^11 - 11^7 = 1 792 160 394 037 - 19 487 171 = 1 792 140 906 866.
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.
Extensions
a(8)-a(11) from Robert G. Wilson v, Aug 23 2010
Comments