login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A182383 Primes of the form n^n - n + 1. 0

%I #6 Apr 27 2012 12:15:12

%S 2,3,3121,302875106592241

%N Primes of the form n^n - n + 1.

%C The next term has 340 digits. - _T. D. Noe_, Apr 27 2012

%e a(2) = 5^5 - 5 + 1 = 3125 - 4 = 3121.

%t Unprotect[Power]; Power[0, 0] = 1; Protect[Power]; Select[Table[n^n - n + 1, {n, 0, 100}], PrimeQ] (* _T. D. Noe_, Apr 27 2012 *)

%Y Cf. A161471, A161472.

%K nonn

%O 1,1

%A _Alex Ratushnyak_, Apr 27 2012

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 13 12:59 EDT 2024. Contains 375142 sequences. (Running on oeis4.)