Processing math: 100%

Problem #201

Tricky Game

TNBT likes playing with sticks, so once he broke a stick into 3 pieces and calculated the probability of the pieces forming a triangle with much difficulty. He now wishes to calculate the probability of the pieces NOT forming an N-sided polygon given the stick was broken into N pieces. Since he found it difficult for 3 pieces, tell him the answer for N = 733.

If the probability is p/q where gcd(p, q)=1, the answer is [q/p] modulo 10^9+9.

[x] represents the greatest integer \leq x.

Contributed by Swapnil Negi

Solved by 69 users

Log in to submit answers.

Is something wrong?

Maintaining a collection of high quality questions is our top priority. If, however, you do find an error, report the problem and we'll make sure it is reviewed soon.