login
This site is supported by donations to The OEIS Foundation.

 

Logo


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

%I

%S 2,5,3011,45943

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

%C The next terms are too large to be displayed:

%C a(5)= 1158^1158-1158!+1158+1 (n=1158), which has 3548 digits.

%C a(6)= 14115^14115-14115!+14115+1 (n=14115), which has 58573 digits.

%C No other term has been found for n<30000.

%t Do[p=n^n-n!+n+1; If[PrimeQ[p], Print[p]], {n, 200}]

%K hard,nonn

%O 1,1

%A _Marco RipĂ _, Mar 11 2011

%E a(5) and a(6) found by _Matevz Markovic_, Mar 03 2014

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 13 15:41 EST 2019. Contains 329106 sequences. (Running on oeis4.)