OFFSET
1,5
LINKS
Laurentiu Panaitopol, Some of the properties of the sequence of powers of prime numbers, Rocky Mountain Journal of Mathematics, Volume 31, Number 4, Winter 2001.
EXAMPLE
Common differences of consecutive prime powers in arithmetic progression up to 100:
1: 1 2 3
1: 2 3 4
1: 3 4 5
1: 7 8 9
2: 9 11 13
2: 23 25 27
2: 25 27 29
2: 27 29 31
3: 61 64 67
2: 79 81 83
PROG
(PARI) ispp(n) = isprimepower(n) || (n==1);
lista(nn) = {v = select(x->ispp(x), vector(nn, i, i)); for (k=2, #v-1, if (v[k+1] - 2*v[k] + v[k-1] == 0, print1(v[k]-v[k-1], ", ")); ); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Nov 16 2014
STATUS
approved