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!)
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
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
KEYWORD
nonn,less,more
AUTHOR
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 19 03:16 EDT 2024. Contains 371782 sequences. (Running on oeis4.)