solution.scm 311 B

123456789101112131415
  1. ;; https://projecteuler.net/problem=34
  2. ;; Digit factorials
  3. ;; Problem 34
  4. ;; 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 =
  5. ;; 145.
  6. ;; Find the sum of all numbers which are equal to the sum of
  7. ;; the factorial of their digits.
  8. ;; Note: As 1! = 1 and 2! = 2 are not sums they are not
  9. ;; included.