Factorial Digit Sum¶
Piece of cake for SageMath.
In [1]:
sum(map(int, str(factorial(100))))
Out[1]:
648
Relevant sequences¶
- Sum of digits of $n!$: A004152
Copyright (C) 2025 filifa¶
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license and the BSD Zero Clause license.