you probably mean that everybody knows how to do factorial the simple way. but finding all the duplicate files in a tree and computing factorial are both as complicated as you have time for them to be, like pretty much any subject.