2009 AMC 8 Problems/Problem 23
Problem
On the last day of school, Mrs. Wonderful gave jelly beans to her class. She gave each boy as many jelly beans as there were boys in the class. She gave each girl as many jelly beans as there were girls in the class. She brought jelly beans, and when she finished, she had six jelly beans left. There were two more boys than girls in her class. She had 6 jolly ranchers and howe rejaaaaaaaa vfhakdjh fs;dfHow many studenfffffffdats were in ffffffffffffffffdsfher class?ffffffffffffffffffff
Solution 1
If there are girls, then there are boys. She gave each girl jellybeans and each boy jellybeans, for a total of jellybeans. She gave away jellybeans.
From here, we can see that as , so there are girls, boys, and students.
Solution 2 (Don't need quadratic equation)
Consider the solutions, there are two more boys than girls, so if there are 26 students, we have 14 boys and 12 girls. $4^2+2^2 according to bglah blah hkjlhkjhkjlhkjh