33. When a school marching band lines up in 4 columns, the last row is not complete. When it lines up in 3 columns, the last row is not complete, but there are 3 more rows. When it lines up in 2 columns, the last row is not complete and there are 5 more rows than there were with 3 columns. The number of students in the band is between?
A. 10-19 B. 20-29 C. 30-39 D. 40-49 E. 50-59
Let amount of people in band be n
Let amount of row's be x
Let the amount of spots remaining in first situation be y, where y is a positive integer
And let the amount of spots remaining in second situaution be z, where z is a positive integer

, where

is first situation (4 rows times x columns - amount of unfilled spots in last row and y can be 1 2 or 3, because there are 4 spots in each row, and one must be filled, so 1 2 or 3 can be empty)
 - z = n)
, where

is second situation (z can be 1 or 2 for much the same reasoning as above)
 - 1 = n)
is third situation (we know there can only be one unfilled spot because there are only 2 spots per row, and one must be taken)
 - z = 2 (x+8) - 1)



let


let


when

sub

into
 - 1 = n)

when

sub

into
 - 1 = n)

however when we sub

into

we get

which makes

, however y is a positive integer
so x cannot equal 7
when x = 8
we get 32 - y = 31
which makes y = 1, this is entirely possible
Therefore n = 31, answer is C
EDIT: I SUCK AT LATEX
