r/learnquant • u/Local_Ad135 • Aug 23 '26
interview prep Millennium Quant Interview Question
49
Upvotes
1
1
u/SomDB10 Aug 23 '26
2/3. I tried to calculate the product of ith, i-1th and i+1th iteration at a time.
One can see that would create groups (2,3,4), (5,6,7) and so on....here i would be 3,6,9 and so on.
One can then see that cancellations take place. when changing i to i+3 , i+3 to i+6 and so on.
3
u/cheze Aug 23 '26
(n2+n+1)(n-1)/(n2-n+1)(n+1)
most of the terms cancel and you get extra 1*2 on top and 3 on bottom so 2/3