# maths

posted by .

All the students in a school are made to stand in rows so as to form an equilateral triangle. The first row consists of one student, the second row 2 students, third row 3 students and so on. Had there been 90 more students, the total number of students could have been arranged in the shape of a square, so that each side of the square has 5 students less than the number of students in the side of the triangle. Find the total number of students initially present in the school?

• maths -

You are dealing with the triangular numbers whose sums of consecutive rows would be

1 3 6 10 15 21 28 ...

these numbers are generated by (n^2+n)/2 for n equal to the set of natural numbers.

So I added 90 to each of these to see if I get a perfect square.
The first such n value was at n=4
the sum of students would have been 10, and adding 90 gave me 100.
But that did not satisfy the second condition you gave, namely that the side of the square had to be 5 less than the side of the triangle.

I kept going for a while, almost gave up, but came to n = 26

the sum of the students in the triangle is (26^2 + 26)/2 = 351
adding 90 got me 441 which is 21^2
and the difference between these is indeed 5

so there were initially 351 students in the school

## Similar Questions

1. ### maths

Set it up this way: Let the number of students be x let the number of rows be y then the number of students per row is x/y This results in 2 equations from your data: (x/y+1)(y-2) = x and (x/y-1)(y+3 = x Solve these two, gets a bit …
2. ### Math

The first row of a concert hall has 25 seats and each row after the first has one more seat than the row before it. There are 2 rows of seat. 1)Write a rule for the number of seats in the nth row. 2)35 students from a class want to …
3. ### Math

An auditorium has 30 rows with 10 seats in the first row, 12 in the second row, 14 in the third row, and so forth. How many seats are in the auditorium My answer is 1170 but the way I figured out the problem was by listing numbers …
4. ### Math

an auditorium has 50 rows of seats. THe first row has 20 seats, the row has 21 seats, the third row has 22 seats, and so on. each row having one more seat than the previous row. How many seats are there all together?
5. ### MATH

a pile of bricks has 85 bricks in the bottom row, 79 bricks in the second row, 73 in the third row, and so on until there is only 1 brick in the top row. how many bricks are in the 12th row?

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 …
7. ### math

Three hundred thirty six students of school A and four hundred thirty two students of school B were to participate in a parade. For this, they had to stand in rows in such a way that no students of school A and B would get mixed up …
8. ### Combinatorics

There are two rows of seats in the classroom and each row has six seats. If a class has nine students, and among them three female students G1, G2 and G3 always sit in the first row, two male students B1, B2 always sit in the second …
9. ### maths

students are made to stand in equal rows with equal number of students.if 4 students are added to each row ,the number of rows will be reduce by 2 otherwise if 4 students are deducted from each row, the numer of rows will be increased …
10. ### maths

1450 students had to stand in rows and benches no.of row and benches were same so how many row were there?

More Similar Questions