How many fish could there be?

Algebra Level 3

Andrew, a professional mathematician, goes to his local aquarium to buy two fish. He is told the number of female fish and male fish by the owner. While choosing the fish, Andrew notes that, if one was to choose two fish randomly, the chance of getting two fish of the same sex would be the same as the chance of getting two fish of the opposite sex.

There are n n fish inside the aquarium, where n n is a positive integer and 2 n 2018 2\leq n\leq 2018 . For how many values of n n is Andrew's observation possible?


The answer is 43.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Mark Hennings
Apr 10, 2018

If there are m m males and f f females in the tank, then we need ( m 2 ) + ( f 2 ) ( m + f 2 ) = ( m 1 ) × ( f 1 ) ( m + f 2 ) \frac{\binom{m}{2} + \binom{f}{2}}{\binom{m+f}{2}} \; = \; \frac{\binom{m}{1}\times \binom{f}{1}}{\binom{m+f}{2}} and hence ( m 2 ) + ( f 2 ) = m f m ( m 1 ) + f ( f 1 ) = 2 m f ( m f ) 2 = m + f \begin{aligned} \binom{m}{2} + \binom{f}{2} & = \; mf \\ m(m-1) + f(f-1) & = \; 2mf \\ (m-f)^2 & = \; m+f \end{aligned} and hence n = m + f = ( m f ) 2 n = m+f = (m-f)^2 must be a perfect square. If n = N 2 n = N^2 for some integer N 2 N \ge 2 , then we have { m , f } = { 1 2 N ( N 1 ) , 1 2 N ( N + 1 ) } \{m,f\} \,=\, \{\tfrac12N(N-1),\tfrac12N(N+1)\} . Thus the number of possible values of n n is the number of perfect squares greater than 1 1 and less than or equal to 2018 2018 . Since 2018 = 44.922... \sqrt{2018} = 44.922... , we deduce that the answer is 43 \boxed{43} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...