login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

%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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 31 13:25 EDT 2021. Contains 346373 sequences. (Running on oeis4.)