Sam's Gym Dilemma

There are 300 students at a local high school. On "All Students Exercise Day", Sam, the Physical Education instructor, wants them to line up in a perfect rectangular formation (same number of students in each row). However, there must be more than 1 student in each row or column. How many different formations are there?

Details and assumptions

For this question, the students are considered identical.

A formation is different if there are a different number of rows. In particular, the 1 by 300 formation is different from the 300 by 1 formation (though neither are valid).


The answer is 16.

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.

7 solutions

Harshit Kapur
May 20, 2014

The number of divisors in a number n n , which can be factored into p 1 a × p 2 b × p 3 c p_1^a \times p_2^b \times p_3^c \dots , where p 1 , p 2 , p 3 p_1 , p_2, p_3 \dots are primes, and a , b , c . . a, b, c .. are non-negative integers, is given by ( a + 1 ) × ( b + 1 ) × ( c + 1 ) (a + 1) \times (b + 1) \times (c + 1) \dots .

Finding the number of ways in which 300 300 students can be divided is equivalent to finding the number of divisors of 300 300 , since each divisor d d has a complement ( 300 d ) \big(\frac{300}{d}\big) , and is thus capable of forming a pair of sides of the rectangle formed. Now 300 = 3 1 × 2 2 × 5 2 300 = 3^1 \times 2^2 \times 5^2 , so number of divisors of 300 300 is ( 1 + 1 ) × ( 2 + 1 ) × ( 2 + 1 ) = 18 (1 + 1) \times (2 + 1) \times (2 + 1) = 18 However, we cannot consider factors 1 1 and 300 300 , due to the restrictions imposed in the question. So the number of divisors, or the number of ways 300 300 students can be divided = 18 2 18 - 2 which is 16 16

Joe Moed
May 20, 2014

The problem is equivalent to finding the number of divisors of 300 (excluding 1 and 300), as each divisor will correspond to one specific rectangular arrangement - for example, the divisor "3" corresponds to a 3 x 100 rectangle, "5" corresponds to a 5 x 60 rectangle, and so on.

The first step is to find the prime factorisation of 300. This can be done by repeatedly dividing by 2, then by 3, then by increasingly larger primes until the result is 1, giving 2 2 3 1 5 2 2^2 3^1 5^2 .

The number of factors of an integer is then given by ( q 1 + 1 ) ( q 2 + 1 ) . . . ( q n + 1 ) (q_{1}+1)(q_{2}+1)...(q_{n}+1) , where q n q_{n} represents the exponents of 2, 3, 5 and so on in the prime factorisation above.

Therefore, 300 has (2+1)(1+1)(2+1)=18 divisors. Remembering to exclude 1 and 300, the solution to the original problem is 16.

Guangxuan Zhang
May 20, 2014

300=2^2 3 5^2 Thus, it has 3 2 3=18 different factors Each of the factor 300 has can be the number of rows, and there will be a corresponding number of columns. Apart from 1 300 and 300 1, all other formations work. Thus, there are 18-2=16 formations

Jonathan Mamplata
May 20, 2014

we have to count how many positive divisors 300 300 has. 300 300 can be expresses as 2 2 5 2 3 2^2 \cdot 5^2 \cdot 3 , which means that 300 300 has ( 2 + 1 ) ( 2 + 1 ) ( 1 + 1 ) = 18 (2+1)(2+1)(1+1)=18 positive factors. We must not include 1 and 300 from the list, hence there are 16 16 factors all in all.

Krishna Roy
May 20, 2014

the divisors of 300 are 2,3,4,5,6,10,15,20,25,30,50,60,75,100,150(total 16)

                              rectangles may of  

                              2x150 and 150x2  specify(row x column)
                              3x100 and 100x3
                              4x75   and 75x4
                              5x60   and  60x5
                              6x50   and 50x6
                              10x30 and 30x10
                               12x25 and 25x12
                               15x20 and 20x15

so there are 16 possible way.

Nathan Weisz
May 20, 2014

function isInt(n) { return typeof n === 'number' && parseFloat(n) == parseInt(n, 10) && !isNaN(n); } // 6 characters

isInt(300);

rowColumnCombo = function(numStudents){ var totalStudents = numStudents; var cases = 0; for(var i=1; i<=numStudents; i++){ var temp = totalStudents/i; if(isInt(temp)){ console.log(i+" rows and "+temp+" columns"); cases++; } } console.log("There are "+cases+" possible cases."); }

rowColumnCombo(300);

Running this script will result in 18 cases. Removing the cases that satisfy the case where there is one student in either row or column, we then have 16 cases.

Calvin Lin Staff
May 13, 2014

Any formation with A A rows and B B columns corresponds to a factorization of 300 = A × B 300 = A \times B . From divisors of an integer , we know that 300 = 2 2 × 3 × 5 2 300 = 2 ^2 \times 3 \times 5^2 has ( 2 + 1 ) × ( 1 + 1 ) × ( 2 + 1 ) = 18 (2+1) \times (1+1) \times (2+1) = 18 positive factors. After accounting for the formations of 1 row and 1 column, there will be 18 2 = 16 18 - 2 = 16 allowable formations.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...