sorry if I bother someone with this simple question, but I just can not get around all of this concepts in one for loop and can not understand how this code can be written in a more explicite manner
Code:
eval(`for(a=c=100n**n*20n,d=1n;a*=d;)c+=a/=d+++d`)
What I have so far:
let c=100n**n*20n
for(let a=100n**n*20n, d=1n; a*=d; ) {
c+=a/=d+++d
}
How I understand it: We instantiate 2 variables(a and d) insider the for loop and incrementing a at each iteration with a = a * d.
Question: How do I read the c variable update c+=a/=d+++d
and until what condition this for loop will be executed ?
Thanks for any expiation on the topic! PS: it does not matter if your explanation will be using BigInts as in this example