OFFSET

1,1

COMMENTS

It appears that primes of this form are much more common than primes of the form m^k+k (A099227).

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

MATHEMATICA

nLim=32000; lst={}; Do[k=2; While[n=m^k-k; n<=nLim, AppendTo[lst, n]; k++ ], {m, 2, Sqrt[nLim]}]; Select[Union[lst], PrimeQ]

CROSSREFS

KEYWORD

nonn

AUTHOR

T. D. Noe, Oct 06 2004

STATUS

approved