login
A162591
Primes in A007781.
0
3, 23, 229, 776887, 275311670611, 808793517812627212561, 47962816398523117606189726043968411848519304708598059350620557763277694737755820158580941773369740112983781265183299561695077810144494290292906506606685128216915382107158604900927276535058149770652889252352435564631
OFFSET
1,1
COMMENTS
See A072164 for a condensed representation of the same information.
EXAMPLE
3^3-2^2=27-4=23 is prime and enters the list.
MATHEMATICA
f[n_]:=n^n-(n-1)^(n-1); lst={}; Do[If[PrimeQ[f[n]], AppendTo[lst, f[n]]], {n, 2, 5!}]; lst
CROSSREFS
Cf. A068955.
Sequence in context: A151393 A007781 A068146 * A278745 A122009 A360987
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition simplified, reference to A072164 and A068955 added by R. J. Mathar, Aug 11 2009
STATUS
approved