login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158400 Primes of the form (n+1)^n-n^(n-1) 0
7, 7151, 109873, 956953279, 3497141354765072424170242943188801 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Next term too large to be included (1652 digits)

EXAMPLE

3^2-2^1=9-2=7

MAPLE

P:=proc(i) local a, n; for n from 2 by 1 to i do a:=n^(n-1)-(n-1)^(n-2); if isprime(a) then print(a); fi; od; end: P(2000);

CROSSREFS

Sequence in context: A125036 A098803 A068575 * A119528 A116266 A179812

Adjacent sequences:  A158397 A158398 A158399 * A158401 A158402 A158403

KEYWORD

easy,nonn

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (paoloplava(AT)gmail.com), Mar 18 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 05:45 EST 2012. Contains 205694 sequences.