# Candy and boxes

We have some number of candy and empty boxes. When we put candies in boxes of ten, there will be 2 candies and 8 empty boxes left, when of eight, there will be 6 candies and 3 boxes left. How many candy and empty boxes left when we put candies in boxes of nine?

Correct result:

x =  51
y =  11

#### Solution:

$\ \\ b - (k-8) \cdot \ 10=2 \ \\ b - (k-3) \cdot \ 8=6 \ \\ \ \\ b-10k=-78 \ \\ b-8k=-18 \ \\ \ \\ b=222 \ \\ k=30 \ \\ \ \\ b - (k-y) \cdot \ 9=x \ \\ 222 - (30-y) \cdot \ 9=x \ \\ x=9n+6 \ \\ y=n+6 \ \\ n >=2 \ \\ 9n+6 <=222 \ \\ n<=24 \ \\ 2<=n <=24 \ \\ n=5 \ \\ x=9 \cdot \ n+6=9 \cdot \ 5+6=51$
$y=n+6=5+6=11$

We would be very happy if you find an error in the example, spelling mistakes, or inaccuracies, and please send it to us. We thank you!

Showing 1 comment:
Math student
this didnt  help me

Tips to related online calculators
Do you have a linear equation or system of equations and looking for its solution? Or do you have quadratic equation?
Do you solve Diofant problems and looking for a calculator of Diofant integer equations?
Do you want to perform natural numbers division - find the quotient and remainder?

## Next similar math problems:

• Stones 3
Simiyu and Nasike each collected a number of stones in an arithmetic lesson. If Simiyu gave Nasike 5 stones, Nasike would have twice as many stones as Simiyu. If initially, Simiyu had five stones less than Nasike how many stones did each have?
• Large family
I have as many brothers as sisters and each my brother has twice as many sisters as brothers. How many children do parents have?
• Tourist cottage
The tourist cottage has 11 rooms for 16 guests, some of them are doubles, some singles. How many are double rooms and how many are single rooms?
• Sheep and cows
There are only sheep and cows on the farm. Sheep is eight more than cows. The number of cows is half the number of sheep. How many animals live on the farm?
• Ball game
Richard, Denis and Denise together scored 932 goals. Denis scored 4 goals over Denise but Denis scored 24 goals less than Richard. Determine the number of goals for each player.
Readers borrowed a total of 220 books in the library during the first three days. On the second day, readers borrowed half as many books as the first day and at the same time 20 fewer books than the third day. Depending on the quantity x, express the numb
• At the
At the presentation of the travelers came three times as many men than women. When eight men left with their partners, there were five times more men than women at the presentation. How many were men and women originally?
• Columns of two and three
When students in one class stand in columns of two there is none left. When he stands in columns of three, there is one student left. There are 5 more double columns than three columns. How many students are in the class?
• Pears and oranges
There are 3 times as many pears as oranges. If a group of children receives 5 oranges each, there will be no oranges left over. If the same group of children receives 8 pears each, there will be 21 pears leftover. How many children and oranges are there?
• Circus
On the circus performance was 150 people. Men were 10 less than women and children 50 more than adults. How many children were in the circus?
• Tickets
Tickets to the zoo cost $4 for children,$5 for teenagers and $6 for adults. In the high season, 1200 people come to the zoo every day. On a certain day, the total revenue at the zoo was$5300. For every 3 teenagers, 8 children went to the zoo. How many t
• Men, women and children
On the trip went men, women and children in the ratio 2:3:5 by bus. Children pay 60 crowns and adults 150. How many women were on the bus when a bus was paid 4,200 crowns?
• Children
The group has 42 children. There are 4 more boys than girls. How many boys and girls are in the group?
• Three workshops
There are 2743 people working in three workshops. In the second workshop works 140 people more than in the first and in third works 4.2 times more than the second one. How many people work in each workshop?
• Linsys2
Solve two equations with two unknowns: 400x+120y=147.2 350x+200y=144
• Elimination method
Solve system of linear equations by elimination method: 5/2x + 3/5y= 4/15 1/2x + 2/5y= 2/15
• Three unknowns
Solve the system of linear equations with three unknowns: A + B + C = 14 B - A - C = 4 2A - B + C = 0