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
2, 5, 6, 7, 8, 9, 14, 37, 81, 143, 302 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

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

PROG

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

CROSSREFS

Cf. A072179, A073499.

Sequence in context: A039044 A212441 A182783 * A288659 A228374 A092206

Adjacent sequences:  A084849 A084850 A084851 * A084853 A084854 A084855

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 19 03:15 EDT 2021. Contains 345125 sequences. (Running on oeis4.)