@[email protected] to Lemmy [email protected] • 19 days agoVirgin Physicistslemmy.worldimagemessage-square114fedilinkarrow-up1724cross-posted to: [email protected]
arrow-up1724imageVirgin Physicistslemmy.world@[email protected] to Lemmy [email protected] • 19 days agomessage-square114fedilinkcross-posted to: [email protected]
minus-square@[email protected]OPlinkfedilink1•18 days agoI wrote it correctly. It is the definition of a factorial.
minus-square@[email protected]linkfedilink1•18 days agoNo, correctly it would be n * (n-1) * (n-2) * … * 3 * 2* 1 Or the actual recursive definition 1! = 1 n! = (n-1)! * n
minus-square@[email protected]OPlinkfedilink2•edit-218 days agoWhat I wrote and the context it makes sense. E: ohh yeah I see
minus-square@[email protected]linkfedilink1•18 days agoYea, reading my message back I was unnecessarily harsh. But my math checks out. Sorry, I had a bad day…
I wrote it correctly. It is the definition of a factorial.
No, correctly it would be n * (n-1) * (n-2) * … * 3 * 2* 1
Or the actual recursive definition
1! = 1
n! = (n-1)! * n
What I wrote and the context it makes sense.
E: ohh yeah I see
Yea, reading my message back I was unnecessarily harsh. But my math checks out.
Sorry, I had a bad day…
No worries. It happens