login
Primes in A007781.
0

%I #3 Mar 31 2012 12:38:25

%S 3,23,229,776887,275311670611,808793517812627212561,

%T 47962816398523117606189726043968411848519304708598059350620557763277694737755820158580941773369740112983781265183299561695077810144494290292906506606685128216915382107158604900927276535058149770652889252352435564631

%N Primes in A007781.

%C See A072164 for a condensed representation of the same information.

%e 3^3-2^2=27-4=23 is prime and enters the list.

%t f[n_]:=n^n-(n-1)^(n-1); lst={};Do[If[PrimeQ[f[n]],AppendTo[lst,f[n]]], {n,2,5!}];lst

%Y Cf. A068955.

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, Jul 07 2009

%E Definition simplified, reference to A072164 and A068955 added by _R. J. Mathar_, Aug 11 2009