login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes of the form A056788(k)-2.
0

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

%S 3,29,281,870197,311791207040507

%N Primes of the form A056788(k)-2.

%C The term a(6) has 291 digits.

%e a(1)=A056788(2)-2=3. a(2)=A056788(3)-2=29, associated with k=2, 3, 4, 7, 13, 136,....

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

%Y Cf. A162927, A056788

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, Jul 17 2009

%E Edited by _R. J. Mathar_, Jul 19 2009