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”).

A083689
Numbers n such that the sum of the factorials of the digits of n! is prime.
0
2, 19, 24, 35, 40, 41, 42, 43, 73, 90, 125, 135, 180, 188, 209, 216, 217, 236, 241, 242, 267, 280, 304, 308, 321, 334, 343, 402, 409, 411, 436, 472, 475, 485, 487, 497, 572, 624, 635, 637, 647, 669, 689, 713, 751, 807, 844, 857, 902, 913, 930, 934, 947, 956
OFFSET
1,1
EXAMPLE
a(2)=19 because 19! = 121645100408832000
and 1!+2!+1!+6!+4!+5!+1!+0!+0!+4!+0!+8!+8!+3!+2!+0!+0!+0! = 81547 a prime.
MATHEMATICA
Select[Range[1000], PrimeQ[Total[IntegerDigits[#!]!]]&] (* Harvey P. Dale, Nov 25 2018 *)
CROSSREFS
Sequence in context: A004023 A186682 A031030 * A102617 A365235 A290163
KEYWORD
base,nonn
AUTHOR
Jason Earls, Jun 15 2003
STATUS
approved