simple memoized factorial for e20