add basic math factorial digit sum