Count-digits-of-factorial
(defun count-digits-of-factorial (positive-integer-arg)
(when (or (not (integerp positive-integer-arg))
(< positive-integer-arg 0))
(error "argument is not a non-negative integer"))
(factorial positive-integer-arg))
(write-to-string fact-of-arg))
(compute-list-of-occurrences
In factorial of ~d, the frequency of digits is as shown:"
(print-data count-list)))