Shepherd

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?

Correct result:

n =  301

Solution:

a%b = a modulo b

n=7: n%2=1, n%3=1, n%4=3, n%5=2, n%6=1, n%7=0
n=14: n%2=0, n%3=2, n%4=2, n%5=4, n%6=2, n%7=0
n=21: n%2=1, n%3=0, n%4=1, n%5=1, n%6=3, n%7=0
n=28: n%2=0, n%3=1, n%4=0, n%5=3, n%6=4, n%7=0
n=35: n%2=1, n%3=2, n%4=3, n%5=0, n%6=5, n%7=0
n=42: n%2=0, n%3=0, n%4=2, n%5=2, n%6=0, n%7=0
n=49: n%2=1, n%3=1, n%4=1, n%5=4, n%6=1, n%7=0
n=56: n%2=0, n%3=2, n%4=0, n%5=1, n%6=2, n%7=0
n=63: n%2=1, n%3=0, n%4=3, n%5=3, n%6=3, n%7=0
n=70: n%2=0, n%3=1, n%4=2, n%5=0, n%6=4, n%7=0
n=77: n%2=1, n%3=2, n%4=1, n%5=2, n%6=5, n%7=0
n=84: n%2=0, n%3=0, n%4=0, n%5=4, n%6=0, n%7=0
n=91: n%2=1, n%3=1, n%4=3, n%5=1, n%6=1, n%7=0
n=98: n%2=0, n%3=2, n%4=2, n%5=3, n%6=2, n%7=0
n=105: n%2=1, n%3=0, n%4=1, n%5=0, n%6=3, n%7=0
n=112: n%2=0, n%3=1, n%4=0, n%5=2, n%6=4, n%7=0
n=119: n%2=1, n%3=2, n%4=3, n%5=4, n%6=5, n%7=0
n=126: n%2=0, n%3=0, n%4=2, n%5=1, n%6=0, n%7=0
n=133: n%2=1, n%3=1, n%4=1, n%5=3, n%6=1, n%7=0
n=140: n%2=0, n%3=2, n%4=0, n%5=0, n%6=2, n%7=0
n=147: n%2=1, n%3=0, n%4=3, n%5=2, n%6=3, n%7=0
n=154: n%2=0, n%3=1, n%4=2, n%5=4, n%6=4, n%7=0
n=161: n%2=1, n%3=2, n%4=1, n%5=1, n%6=5, n%7=0
n=168: n%2=0, n%3=0, n%4=0, n%5=3, n%6=0, n%7=0
n=175: n%2=1, n%3=1, n%4=3, n%5=0, n%6=1, n%7=0
n=182: n%2=0, n%3=2, n%4=2, n%5=2, n%6=2, n%7=0
n=189: n%2=1, n%3=0, n%4=1, n%5=4, n%6=3, n%7=0
n=196: n%2=0, n%3=1, n%4=0, n%5=1, n%6=4, n%7=0
n=203: n%2=1, n%3=2, n%4=3, n%5=3, n%6=5, n%7=0
n=210: n%2=0, n%3=0, n%4=2, n%5=0, n%6=0, n%7=0
n=217: n%2=1, n%3=1, n%4=1, n%5=2, n%6=1, n%7=0
n=224: n%2=0, n%3=2, n%4=0, n%5=4, n%6=2, n%7=0
n=231: n%2=1, n%3=0, n%4=3, n%5=1, n%6=3, n%7=0
n=238: n%2=0, n%3=1, n%4=2, n%5=3, n%6=4, n%7=0
n=245: n%2=1, n%3=2, n%4=1, n%5=0, n%6=5, n%7=0
n=252: n%2=0, n%3=0, n%4=0, n%5=2, n%6=0, n%7=0
n=259: n%2=1, n%3=1, n%4=3, n%5=4, n%6=1, n%7=0
n=266: n%2=0, n%3=2, n%4=2, n%5=1, n%6=2, n%7=0
n=273: n%2=1, n%3=0, n%4=1, n%5=3, n%6=3, n%7=0
n=280: n%2=0, n%3=1, n%4=0, n%5=0, n%6=4, n%7=0
n=287: n%2=1, n%3=2, n%4=3, n%5=2, n%6=5, n%7=0
n=294: n%2=0, n%3=0, n%4=2, n%5=4, n%6=0, n%7=0
n=301: n%2=1, n%3=1, n%4=1, n%5=1, n%6=1, n%7=0 <<<<<<=====



We would be pleased if you find an error in the word problem or inaccuracies and send it to us. Thank you!



Showing 0 comments:
avatar




Tips to related online calculators
Do you want to calculate greatest common divisor two or more numbers?

Related math problems and questions:

  • Sheep
    ships 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?
  • 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?
  • 9.A
    exam 9.A to attend more than 20 students but fewer than 40 students. A third of the pupils wrote a math test to mark 1, the sixth to mark 2, the ninth to mark 3. No one gets mark 4. How many students of class 9.A wrote a test to mark 5?
  • Spartakiada
    spartakiada_1 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?
  • LCD 2
    zlomky_6 The least common denominator of 2/5, 1/2, and 3/4
  • School
    ziaci_6 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?
  • Bundle of candies
    bonbons_3 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?
  • Tissues
    harmasan The store got three kinds of tissues - 132 children, 156 women and 204 men. Tissues each species were packed into boxes after the number of pieces the same for all three types (and greatest). Determine the number, if you know that every box has more than
  • Pegs
    meter_1 From two sticks 240 cm and 210 cm long, it is necessary to cut the longest possible pegs for flowers so that no residues remain. How many pegs will it be?
  • Hectares
    tractor_8 The tractor plows the first day of 4.5ha, the second day 6.3ha and the third day 5.4ha. It worked whole hours a day, and its hourly performance did not change and was the highest of the possible. How many hectares did it plow in one hour (what is it perfo
  • The florist
    ruze_6 The florist had 200 roses in the morning. During the day, more than half sold it. From the remaining roses, it will tie the bouquet. If a bouquet of 3, 4, 5 or 6 roses are bound, one always remains. How many roses from the morning shipment sold?
  • Blades
    ruler2_1 1st blade 2,5 m, 2nd blade. .1.75 m. How many same long pieces of this two blades can be do the biggest? How long is one piece?
  • Tiles
    kachlicky Hall has dimensions 325 &time; 170 dm. What is the largest size of square tiles that can be entire hall tiled and how many we need them?
  • Z9–I–4 MO 2017
    vlak2 Numbers 1, 2, 3, 4, 5, 6, 7, 8 and 9 were prepared for a train journey with three wagons. They wanted to sit out so that three numbers were seated in each carriage and the largest of each of the three was equal to the sum of the remaining two. The conduct
  • Divisible by 5
    175px-5th_MarDiv How many three-digit odd numbers divisible by 5, which are in place ten's number 3?
  • Four poplars
    topolcany_1 Four poplars are growing along the way. The distances between them are 35 m, 14 m, and 91 m. At least how many poplars need to be dropped to create the same spacing between the trees? How many meters will it be?
  • Unknown integer
    cross Find the smallest integer that: divided by 2, the remainder is 1 divided by 3 the remainder is 2, divided by 4 remainder is 3, ... divided by eight reminder is 7, by 9 reminder is 8.