SOLUTION: When the teacher divided her students into groups of four, she had three students remaining, when she divided them into groups of five , she had four students remaining. There were

Algebra.Com
Question 1158265: When the teacher divided her students into groups of four, she had three students remaining, when she divided them into groups of five , she had four students remaining. There were fewer than 40 students in the class. How many students could be in the class?
Found 2 solutions by josgarithmetic, ikleyn:
Answer by josgarithmetic(39617)   (Show Source): You can put this solution on YOUR website!
19 students

Done using lists, very crude, not the best method
Better way is possible
DIV 4, r 3       DIV 5, r 4
  7               9
 11              14
 15              19
 19
 23

First value found common to both is 19.

Answer by ikleyn(52777)   (Show Source): You can put this solution on YOUR website!
.

Let "n" be the unknown number under the question.


Add 1 (one) to the number, and consider N = n+1, instead of "n".


Then the number N  is a multiple of 4 (OBVIOUS).

Also, the number N is a multiple of 5 (OBVIOUS).


The only numbers lesser than or equal to 40 and multiple to 4 and 5 are the numbers 20 and 40.


Returning from "N" to "n", we have, therefore, two answers for the given problem:  19 and 39.

Solved.

----------------

    +-------------------------------------------------------------------------------+
    | It is how this problem is designed, is intended and is expected to be solved. |
    +-------------------------------------------------------------------------------+

For similar solved problems,  see the lesson
    - The number that leaves a remainder 1 when divided by 2, by 3, by 4, by 5 and so on until 9
in this site.


RELATED QUESTIONS

The number of ways in which 12 students can be equally divided into three groups... (answered by AnlytcPhil)
A group of students decided to create gift bags of cookies to give to the elderly.... (answered by stanbon,Edwin McCravy)
A class in number theory was to divide itself into groups of equal sizes to study the... (answered by richard1234)
A teacher has 20 students in her class. They are divided into 4 table groups of 5... (answered by solver91311)
Teachers divided students into groups of three each group of three wrote a report that... (answered by stanbon,richwmiller)
cindy has a pile of $1 coins. when she stacks them into groups of two,there is one coin... (answered by ikleyn)
The number of students divided equally into four... (answered by stanbon)
I am a sophomore in high school and am taking Algebra II. Right now we are reviewing... (answered by stanbon)
5)In how many ways can 12 students be divided into three groups of 4, if the order of the (answered by stanbon)