OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
104 is a term because 1!+0!+4!=26 and 104/26=4.
MATHEMATICA
seqQ[n_] := Divisible[n, Total@(Factorial /@ IntegerDigits[n])]; Select[Range[2500], seqQ] (* Amiram Eldar, Dec 16 2019 *)
PROG
(Magma) f:=func< n|&+[Factorial(Intseq(n)[i]):i in [1..#Intseq(n)]]>; [k:k in [1..2500]| k mod f(k) eq 0]; // Marius A. Burtea, Dec 16 2019
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, May 11 2004
STATUS
approved