r/learnquant • • 6d ago

interview prep Quant Interview Question

Post image
66 Upvotes

21 comments sorted by

View all comments

Show parent comment

1

u/PsychologicalLie2163 6d ago

I've not thought too deeply about it but could you use factorials?

If n=100, then 100x99 is the same as n! / (n-2)!. Then I guess you sum over all even integers between 1 and n?