Sheep

Shepherd tending the sheep. Tourists asked him how much they have. The shepherd said, "there are fewer than 500. If I them lined up in 4-row 3 remain. If in 5-row 4 remain. If in 6-row 5 remain. But I can form 7-row." How many sheep have herdsman?

Correct answer:

n =  119

Step-by-step explanation:

a%b = a modulo b

n=7: n%4=3, n%5=2, n%6=1, n%7=0
n=14: n%4=2, n%5=4, n%6=2, n%7=0
n=21: n%4=1, n%5=1, n%6=3, n%7=0
n=28: n%4=0, n%5=3, n%6=4, n%7=0
n=35: n%4=3, n%5=0, n%6=5, n%7=0
n=42: n%4=2, n%5=2, n%6=0, n%7=0
n=49: n%4=1, n%5=4, n%6=1, n%7=0
n=56: n%4=0, n%5=1, n%6=2, n%7=0
n=63: n%4=3, n%5=3, n%6=3, n%7=0
n=70: n%4=2, n%5=0, n%6=4, n%7=0
n=77: n%4=1, n%5=2, n%6=5, n%7=0
n=84: n%4=0, n%5=4, n%6=0, n%7=0
n=91: n%4=3, n%5=1, n%6=1, n%7=0
n=98: n%4=2, n%5=3, n%6=2, n%7=0
n=105: n%4=1, n%5=0, n%6=3, n%7=0
n=112: n%4=0, n%5=2, n%6=4, n%7=0
n=119: n%4=3, n%5=4, n%6=5, n%7=0 <<<<<<=====



We will be pleased if You send us any improvements to this math problem. Thank you!






avatar




Tips to related online calculators
Do you want to perform natural numbers division - find the quotient and remainder?

Related math problems and questions:

  • Shepherd
    sheep The shepherd has fewer than 500 sheep; where they can be up to 2, 3, 4, 5, 6 row is always 1 remain, and as can be increased up to 7 rows of the sheep, and it is not increased no ovine. How many sheep has a shepherd?
  • Fewer than 500 sheep,
    sheep-500 There are fewer than 500 sheep, but if they stand in a double, triple, quadruple, five, and sixth-order, one sheep will remain. But they can stand in the seventh order. How many are sheep?
  • Spartakiada
    spartakiada Practitioners lined up in rectangle with row with four, five or six exercisers, one always missing to full rectangle. How many exercisers were on the field, if they have estimated not been more than 100?
  • Shepherd
    sheep Kuba makes a deal with a shepherd to take care of his sheep. Shepherd said Kuba that after a year of service, he would receive twenty gold coins and one sheep. But Kuba resigned just after the seventh month of service. But shepherd rewarded him and paid h
  • Together
    balls2 The three friends divided the balls in a ratio of 6: 5: 4. Some two of them got a total of 126 balls. How many balls were there together?
  • Trees
    trees Loggers wanted to seed more than 700 and less than 800 trees. If they seed in rows of 37, left them 8 trees. If they seed in rows of 43, left the 11 trees. How many trees must seed ?
  • Tourists
    tourists Tourists hire a guide. Everyone will pay the same amount. If there are two less of them, they will pay 14 crowns more, and if there are three more, they will pay 14 crowns less. How many tourists are there and how much have the guides paid.
  • Meadow
    ovce-miestami-baran On the meadow grazing horses, cows, and sheep, together with less than 200. If cows were 45 times more, horses 60 times more, and sheep 35 times more than there are now, their numbers would equally. How many horses, cows, and sheep are on the meadow toget
  • Four classses
    think Students of all 7, 8 and 9 classes in one school may take up 4,5,6 and 7 abreast and nobody will left. How many is the average count of pupils in one class if there are always four classes each grade?
  • School
    ziaci Less than 500 pupils attend school. When it is sorted into pairs, one pupil remains. Similarly, when sorted into 3, 4, 5 and 6 members team one remains. Sorted to seven members teams, no left behind. How many pupils are attending this school?
  • Together
    work If 8 men, 10 women, 16 children collects ₹1024 in 4 days, how many days will be required for 6 men, 5 women and 4 boys to collect ₹768? (₹ is Indian Rupee)
  • On a farm
    sheep-500 On a farm, there are 90 rabbits, 700 sheep, 300 cattle and 500 pigs. What percentage of the total number of animals are rabbits?
  • Three-digit numbers
    numbers Use the numbers 4,5,8,9 to write all three-digit numbers without repetition. How many such numbers are there?
  • Athletes
    olympics Athletes at the stadium could enter two-steps, three-steps, four-steps, five-steps, six-steps. There were more than 100 but less than 200. How many athletes were there?
  • Divisors
    one Find all divisors of number 493. How many are them?
  • Toy cars
    numbers2 Pavel has a collection of toy cars. He wanted to regroup them. But in the division in groups of three, four, six, and eight, he was always one left. Only when he formed groups of seven, he divided everyone. How many toy cars have in the collection?
  • Divisible by 5
    175px-5th_MarDiv How many three-digit odd numbers divisible by 5, which are in place ten's number 3?