InternetCitizen2@lemmy.world to Lemmy Shitpost@lemmy.world · 4 months agoVirgin Physicistslemmy.worldimagemessage-square24linkfedilinkarrow-up113arrow-down10
arrow-up113arrow-down1imageVirgin Physicistslemmy.worldInternetCitizen2@lemmy.world to Lemmy Shitpost@lemmy.world · 4 months agomessage-square24linkfedilink
minus-squareInternetCitizen2@lemmy.worldOPlinkfedilinkarrow-up0·4 months agoIn case anyone wondering factorial is n! = n * n-1 * n-2 * … * 3 * 2 * 1
minus-squareweker01@sh.itjust.workslinkfedilinkarrow-up1arrow-down1·4 months agoErm. In what world do you live that the precedent in your expression is right? In all languages and countries I know multiplication binds more strongly than addition. So what you wrote would be n^2 - n - 2n - 3n…
minus-squareInternetCitizen2@lemmy.worldOPlinkfedilinkarrow-up1arrow-down1·4 months agoI wrote it correctly. It is the definition of a factorial.
In case anyone wondering factorial is
n! = n * n-1 * n-2 * … * 3 * 2 * 1
Erm. In what world do you live that the precedent in your expression is right?
In all languages and countries I know multiplication binds more strongly than addition. So what you wrote would be
n^2 - n - 2n - 3n…
I wrote it correctly. It is the definition of a factorial.