Talk:Special factorials: Difference between revisions
no edit summary
m (→Reverse factorial algorithm: add comment) |
No edit summary |
||
Line 27:
: I think it's just that the formula literally produces 0 for n = 0.
: First run through, i is 1, this produces -1. Second run through, i is 0, this produces 1 and their sum is 0. --[[User:Chunes|Chunes]] ([[User talk:Chunes|talk]]) 17:36, 16 March 2021 (UTC)
So the math summation notation goes backwards automatically when i > n? This may make a good task -- C will do one iteration and stop, etc. --[[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 21:11, 16 March 2021 (UTC)
|