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!)
A181681 Primes of the form n^(n+1)+(n-1)^n. 1
89, 16649, 6044737, 3238428376721 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The next term of the sequence is a(5)=393^394+392^393 = 15526396580196065…8500849703002799761, which has 1023 decimal digits and is too large to include here.

LINKS

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

EXAMPLE

For n=5, 16649 is in the sequence because 5^6+4^5=16649 is prime.

MATHEMATICA

lst={}; Do[m=n+1; q=n^m+ (n-1)^n; If[PrimeQ[q], AppendTo[lst, q]], {n, 0, 400}];

  lst

PROG

(PARI) A181681(istrt)={for(n=istrt, istrt+400,

if(isprime(n^(n+1)+(n-1)^n), print(n^(n+1)+(n-1)^n))); }

CROSSREFS

Sequence in context: A086695 A056568 A174758 * A167398 A023330 A059766

Adjacent sequences:  A181678 A181679 A181680 * A181682 A181683 A181684

KEYWORD

nonn

AUTHOR

Michel Lagneau, Nov 17 2010

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 October 26 09:03 EDT 2020. Contains 338027 sequences. (Running on oeis4.)