Peter had a sachet of candy. He wanted to share with his friends. If he gave them 30 candies, he would have 62 candies. If he gave them 40 candies, he would miss 8 candies. How many friends did Peter have?

Correct answer:

n =  7

Step-by-step explanation:

30n +62 = 40n - 8

30•n +62 = 40•n - 8

10n = 70

n = 7

Our simple equation calculator calculates it.

Did you find an error or inaccuracy? Feel free to write us. Thank you!


Tips to related online calculators
Do you have a linear equation or system of equations and looking for its solution? Or do you have a quadratic equation?

You need to know the following knowledge to solve this word math problem:

Related math problems and questions:

  • Borrowing bicycle
    cukriky Jakub lent a bicycle to friends who wanted to ride it. For a three-hour bike ride, Jakub received 2 chocolates. Yup. If you wanted a bike for 2 hours, you had to give Jakub 12 candies. Peter gave Jakub 1 chocolate and 3 candies. How long can Peter ride Ja
  • Candies
    bonbon If Alena give Lenka 3 candy will still have 1 more candy. If Lenka give Alena 1 candy Alena will hame twice more than Lenka. How many candies have each of them?
  • The raw
    statistics The raw data presented here are the scores (out of 100 marks) of a market survey regarding the acceptability of new product launched by a company for a random sample of 50 respondents: 40 45 41 45 45 30 30 8 48 25 26 9 23 24 26 29 8 40 41 42 39 35 18 25 3
  • Grandmother
    cukriky Grandmother wants to give the candies to grandchildren that when she gives 5 candy everyone 3 missing and when she gives 4 candies 3 is surplus. How many grandchildren has grandmother and how many candies has?
  • Sweets, candy
    bonbons Grandfather gave out sweets to four children. At the last moment, two more children came, so in order to have them all the same, each of the four children would receive four candies less than they would have received if they had not. How much did my grand
  • Candy and boxes
    cukriky We have some 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?
  • Bundle of candies
    bonbons In the store has 168 chocolates, caramel candies 224 and 196 hard candies. How many packages we can do and how many of candies will be in each package?
  • Speed of Slovakian trains
    zssk_train Rudolf decided to take the train from the station 'Ostratice' to 'Horné Ozorovce'. In the train timetables found train Os 5409 : km 0 Chynorany 15:17 5 Ostratice 15:23 15:23 8 Rybany 15:27 15:27 10 Dolné Naštice 15:31 15:31 14 Bánovce nad Bebravou 15:35 1
  • Candies
    zele-bonbony The price for 1 kg of more expensive candies is 125 CZK. The price for 1 kg of cheaper candy is 100 CZK. We mix two different mixtures of candy. A) The first mixture contains 2 kg more expensive and 0.5 kg cheaper candy. Calculate the price for 1 kg of th
  • Division
    bonbons Three siblings Helena, Oliver and George split the bag with candies on merit in the ratio 6:1:4. How many candies should each get if in bag were 88?
  • Three friends
    three_friends Peter is eight times older than Rado, Rado is 3 times younger than Joseph. Together they have 120 years. Determine how many are each of them.
  • Three friends
    pizza Divide 570 euros to three friends so that first will get 50 euros less than the second and third twice more than the first. How many euros will get everyone?
  • N percentille problem
    calc Here is a data set (n=117) that has been sorted. 10.4 12.2 14.3 15.3 17.1 17.8 18 18.6 19.1 19.9 19.9 20.3 20.6 20.7 20.7 21.2 21.3 22 22.1 22.3 22.8 23 23 23.1 23.5 24.1 24.1 24.4 24.5 24.8 24.9 25.4 25.4 25.5 25.7 25.9 26 26.1 26.2 26.7 26.8 27.5 27.6 2
  • 7 roses
    roses Peter buys 7 roses. When he pays for it left him 4 euros. If he bought 5 roses left him 40 euros. How many euros had Peter before buying?
  • IS trapezoid
    el_trapezium Isosceles trapezoid arm measured 35 cm. Height is 30 cm and middle segment is 65 cm. Determine length of its bases.
  • Runner
    runner Peter ran a speed of 12.4 km / h. After 45 minutes running he had a hiatus. The track is 31 km long. How many kilometers he still to run if he still running at the same speed?
  • Money
    money Peter has 2x more money than Michael. But if Peter gave Michael € 16 Michael would have 3.5 times more money than Peter. Determine how much money was originally Peter and how much Michael.