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!)
A187628 Primes of the form k^k+(k-1)!. 0
2, 5, 29, 285315299411, 17343773367030267521308787406564912056851205145256603523014151198995507 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Next term, if it exists, has more than 1043 digits.

The next term is about 3.854...*10^30795. The corresponding values of k are 1, 2, 3, 11, 43, 7901. No more terms with k < 10000. - Amiram Eldar, Feb 06 2019

LINKS

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

EXAMPLE

For k=11, p=11^11+10!=285315299411 is prime and is in the sequence.

MATHEMATICA

Do[p=n^n+(n-1)!; If[PrimeQ[p], Print[p]], {n, 400}]

Select[Table[k^k+(k-1)!, {k, 50}], PrimeQ] (* Harvey P. Dale, Jan 18 2021 *)

PROG

(PARI) for(k=1, 100, x=k^k+(k-1)!; if(isprime(x), print1(x, ", "))) \\ Jinyuan Wang, Feb 06 2019

CROSSREFS

Sequence in context: A179554 A086383 A118612 * A158866 A101078 A109739

Adjacent sequences:  A187625 A187626 A187627 * A187629 A187630 A187631

KEYWORD

hard,nonn

AUTHOR

Marco Ripà, Mar 12 2011

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 September 19 18:36 EDT 2021. Contains 347564 sequences. (Running on oeis4.)