login

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

Primes of the form n^n+(n+1)^(n+1)+6.
0

%I #5 Jan 30 2014 17:58:10

%S 11,37,49787,404197711

%N Primes of the form n^n+(n+1)^(n+1)+6.

%C Primes of the form A056788(k)+6, associated with k=2, 3, 6, 9, 126,...

%C The term a(5) has 265 digits.

%e 2^2+3^3+6=37.

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

%t Select[Table[n^n+(n+1)^(n+1)+6,{n,500}],PrimeQ] (* _Harvey P. Dale_, Jan 30 2014 *)

%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