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!)
A140970 Primes of the form (n-1)! + n^(n-1). 0
2, 3, 11, 118369 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

Select[Table[(n-1)!+n^(n-1), {n, 20}], PrimeQ] (* Harvey P. Dale, Oct 05 2016 *)

PROG

(PARI) j=[]; for(n=1, 100, if(isprime((n^n+n!)/n), j=concat(j, ((n-1)! + n^(n-1))))); j

CROSSREFS

Sequence in context: A096456 A262201 A072928 * A058523 A103782 A128438

Adjacent sequences:  A140967 A140968 A140969 * A140971 A140972 A140973

KEYWORD

nonn,less,more

AUTHOR

Alexander R. Povolotsky, Aug 17 2008

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 5 00:50 EDT 2020. Contains 334828 sequences. (Running on oeis4.)