r/learnquant • • 4d ago

interview prep Quant Interview Question

Post image
57 Upvotes

20 comments sorted by

View all comments

Show parent comment

1

u/PsychologicalLie2163 4d 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?