Question
There were yellow, brown and purple beads in a jar. Sean put another 8 yellow beads and 15 purple beads in the jar, then the ratio of the number of brown beads to the number of purple beads became 5 : 2. Then, he doubled the number of yellow beads and removed 11 purple beads. The ratio of the number of yellow beads to brown beads became 2 : 1. He counted and found that there were a total of 57 beads left in the jar. Find the number of yellow beads that he had at first.
5 m

Click button first when a symbol is required. X

There were yellow, brown and purple beads in a jar. Sean put another 8 yellow beads and 15 purple beads in the jar, then the ratio of the number of brown beads to the number of purple beads became 5 : 2. Then, he doubled the number of yellow beads and removed 11 purple beads. The ratio of the number of yellow beads to brown beads became 2 : 1. He counted and found that there were a total of 57 beads left in the jar. Find the number of yellow beads that he had at first.