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!)
A072179 Numbers n such that n^(n+1) - (n+1)^n is prime. 7
3, 6, 9, 12, 44, 883, 1277 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Some of the larger entries may only correspond to probable primes.

6279 is a term. - Alexander Adamchuk, Apr 09 2007

LINKS

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

MATHEMATICA

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

PROG

(PARI) is(n)=ispseudoprime(n^(n+1)-(n+1)^n) \\ Charles R Greathouse IV, Feb 17 2017

CROSSREFS

Cf. A072164, A073499.

Sequence in context: A277250 A083491 A086423 * A065811 A061514 A078559

Adjacent sequences:  A072176 A072177 A072178 * A072180 A072181 A072182

KEYWORD

nonn

AUTHOR

Daniel Gronau (Daniel.Gronau(AT)gmx.de), Jun 30 2002

EXTENSIONS

Edited and extended by Robert G. Wilson v, Jul 02 2002

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 July 25 20:59 EDT 2021. Contains 346294 sequences. (Running on oeis4.)