InternetCitizen2@lemmy.world to Lemmy Shitpost@lemmy.world · 4 days agoVirgin Physicistslemmy.worldimagemessage-square111fedilinkarrow-up1873arrow-down16 cross-posted to: science_memes@mander.xyz
arrow-up1867arrow-down1imageVirgin Physicistslemmy.worldInternetCitizen2@lemmy.world to Lemmy Shitpost@lemmy.world · 4 days agomessage-square111fedilink cross-posted to: science_memes@mander.xyz
minus-squareInternetCitizen2@lemmy.worldOPlinkfedilinkarrow-up1·3 days agoI wrote it correctly. It is the definition of a factorial.
minus-squareweker01@sh.itjust.workslinkfedilinkarrow-up1·3 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-squareInternetCitizen2@lemmy.worldOPlinkfedilinkarrow-up2·edit-23 days agoWhat I wrote and the context it makes sense. E: ohh yeah I see
minus-squareweker01@sh.itjust.workslinkfedilinkarrow-up1·3 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