OFFSET
1,1
COMMENTS
All prime numbers which are the difference of integers raised to the 11th power have this form. Values of n in A211184.
LINKS
Vladimir Pletser, Table of n, a(n) for n = 1..1000
PROG
(Python)
from itertools import count
primes = Primes()
def diff_pow(i, n):
return (i+1)**n - i**n
def diff_pow_primes(n, limit=range(1000)):
pows = [diff_pow(i, n) for i in limit]
return [p for p in pows if p in primes]
diff_pow_primes(11, count())
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
David Cushing, Dec 19 2012
STATUS
approved