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!)
A084852 Numbers n such that n^(n+1)+(n+1)^n-n(n+1) is prime. 1

%I #7 Jun 12 2017 19:06:39

%S 2,5,6,7,8,9,14,37,81,143,302

%N Numbers n such that n^(n+1)+(n+1)^n-n(n+1) is prime.

%t Do[If[PrimeQ[n^(n+1)+(n+1)^n-n(n+1)], Print[n]], {n, 1000}]

%o (PARI) is(n)=ispseudoprime(n^(n+1)+(n+1)^n-n*(n+1)) \\ _Charles R Greathouse IV_, Jun 12 2017

%Y Cf. A072179, A073499.

%K more,nonn

%O 1,1

%A _Farideh Firoozbakht_, Jul 13 2003

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 April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)