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 fish inside the aquarium, where is a positive integer and . For how many values of is Andrew's observation possible?
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.
If there are m males and f females in the tank, then we need ( 2 m + f ) ( 2 m ) + ( 2 f ) = ( 2 m + f ) ( 1 m ) × ( 1 f ) and hence ( 2 m ) + ( 2 f ) m ( m − 1 ) + f ( f − 1 ) ( m − f ) 2 = m f = 2 m f = m + f and hence n = m + f = ( m − f ) 2 must be a perfect square. If n = N 2 for some integer N ≥ 2 , then we have { m , f } = { 2 1 N ( N − 1 ) , 2 1 N ( N + 1 ) } . Thus the number of possible values of n is the number of perfect squares greater than 1 and less than or equal to 2 0 1 8 . Since 2 0 1 8 = 4 4 . 9 2 2 . . . , we deduce that the answer is 4 3 .