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!)
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
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
Sequence in context: A277250 A083491 A086423 * A065811 A061514 A078559
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 03:01 EDT 2024. Contains 371767 sequences. (Running on oeis4.)