login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A162604
Primes of the form k^k-k!-9.
2
223, 16736887, 104857597567097991823359991, 11756638905368320778615010897169507936008298389569527
OFFSET
1,1
COMMENTS
The values of A036679(k)-9 at indices k=4, 8, 20, 34, ... - R. J. Mathar, Jul 16 2009
MATHEMATICA
Select[Table[n^n-n!-9, {n, 3, 50}], PrimeQ] (* Harvey P. Dale, Jul 30 2017 *)
PROG
(Magma) [a: n in [3..100] | IsPrime(a) where a is n^n-Factorial(n)-9]; // Vincenzo Librandi, Aug 02 2017
CROSSREFS
Cf. A162603.
Sequence in context: A205265 A153165 A094491 * A296896 A050241 A345542
KEYWORD
nonn
AUTHOR
STATUS
approved