The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A108933 Numbers n such that the absolute value of (n - sum of the factorials of its digits) is prime. 1
 3, 14, 20, 24, 25, 30, 37, 43, 50, 53, 59, 60, 67, 73, 79, 80, 97, 100, 105, 110, 115, 124, 125, 134, 138, 146, 151, 152, 158, 171, 172, 198, 201, 202, 225, 227, 235, 243, 249, 250, 255, 259, 260, 265, 295, 301, 302, 306, 314, 318, 320, 325, 327, 330, 343, 347 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS 6*10^843-1 generates an 844-digit prime. LINKS Harvey P. Dale, Table of n, a(n) for n = 1..1000 EXAMPLE a(5)=25 because |25-(2!+5!)| = 97, a prime. MATHEMATICA Select[Range[400], PrimeQ[Abs[#-Total[IntegerDigits[#]!]]]&] (* Harvey P. Dale, Oct 03 2017 *) CROSSREFS Cf. A108911. Sequence in context: A121459 A121226 A063633 * A271384 A108420 A015639 Adjacent sequences:  A108930 A108931 A108932 * A108934 A108935 A108936 KEYWORD base,easy,nonn AUTHOR Jason Earls, Jul 20 2005 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.

Last modified May 17 21:11 EDT 2021. Contains 343990 sequences. (Running on oeis4.)