2 fair coins A and B, for A, tossing H gets 3 dollars; for B, tossing H gets 1 dollar. Now toss A and B 500 times each, finally we get 900 dollars. Estimate the most likely number of times of H for A and B (you are not necessary to calculate the exact value, just give the best possible bound).
It is equivalent to find the x to maximize:
$$f(x)=\tbinom{500}{x}\times\tbinom{500}{900-3x},$$ here $134\leq x \leq 500.$ Even I use the fact that the optimal $x^*$ meets: $$f(x^*)\geq f(x^*+1)\ and\ f(x^*)\geq f(x^*-1).$$
I still can hardly solve $x^*.$