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!)
A084853 Numbers n such that n^(n+1)+(n+1)^n+n(n+1) is prime. 0
1, 2, 3, 4, 5, 27 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..6.

MATHEMATICA

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

Select[Range[30], PrimeQ[#^(#+1)+(#+1)^#+#(#+1)]&] (* Harvey P. Dale, May 28 2016 *)

PROG

(PARI) is(n)=ispseudoprime(n^(n+1)+(n+1)^n+n*(n+1)) \\ Charles R Greathouse IV, Jun 13 2017

CROSSREFS

Cf. A072179, A073499.

Sequence in context: A075807 A124232 A051143 * A115337 A114333 A265098

Adjacent sequences:  A084850 A084851 A084852 * A084854 A084855 A084856

KEYWORD

more,nonn

AUTHOR

Farideh Firoozbakht, Jul 13 2003

STATUS

approved

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 June 12 10:58 EDT 2021. Contains 344947 sequences. (Running on oeis4.)