Fewer than 500 sheep,

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?


n =  301


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 <<<<<<=====

Leave us a comment of example and its solution (i.e. if it is still somewhat unclear...):

Showing 0 comments:
1st comment
Be the first to comment!

Do you want to calculate least common multiple two or more numbers?

Next similar examples:

  1. Crocuses
    kvetinky The garden grow daffodils, crocuses and roses. 1400 daffodils, crocuses is 462 more and roses is 156 more than crocuses. How many are all the flowers in the garden?
  2. Plum
    plumbs_1 On the platter are plum. How many were there if its have to be able to share equally among 8,10 and 12 children?
  3. Janka and Danka
    books_3 Janka and Danka began to read the same day the books. Janka had 276 pages, Danka 204 pages. They agreed that both read every day the same number of pages until theirs books read. A) How many maximum pages they had to read the day to honor their agreement?
  4. Bouquet
    flowers_1 Gardener tying bouquet of flowers for 8 and none was left. Then he found that he could tying bouquet of 6 flowers and also none was left. How many have gardener flowers (minimum and maximum) if they had between 50 and 100 flowers?
  5. Buildings
    prg The school stands 110 m from the church, which is 100 m beyond the town hall. Which building are closer to the church and how many times?
  6. The port
    port Four ships Berthed in the port. Together sail from a port. The first ship will return to port every two weeks, second ship after 4 weeks, third after 8 weeks and fourth ship after 12 weeks. After how many weeks all the boats gather at the port?
  7. Gearing
    prevod Gearing consists of two wheels, one is 88 and second 56 teeth. How many times turns smaller wheel to fit the same teeth as in the beginning? How many times will turn biggest wheel?
  8. Class 9A
    boy On the final certificate have one quarter of the class 9A mark "C" of mathematics, seventh mark "C" from the Czech language and two students failed in chemistry. How many students attend class 9A?
  9. Apples and pears
    hrusky2 Mom divided 24 apples and 15 pears to children. Each child received the same number of apples and pears - same number as his siblings. How many apples (j=?) and pears (h=?) received each child?
  10. Gears
    ozub_kola The gearing fits wheel with 20 teeth to the wheel with 36 teeth. Before starting the machine is stained tooth smaller wheels in the designated space between the teeth of the larger wheels. How many times after starting the machine wheels turning that stain
  11. Log
    5962705_ad Worker cut his thick log to 6 pieces for 30 min. How long he cut log to 12 pieces?
  12. School
    ratios_2 Headteacher think whether the distribution of pupils in race in groups of 4,5,6,9 or 10. How many pupils must have at least school at possible options?
  13. Divisibility
    nice_circles Determine all divisors of number 84.
  14. Division
    numbers_36 Which number in division 16 give 12 and the rest 3?
  15. Customer
    money_20 A customer purchase three (3) writing pads from a store. She receive k9.70 change from a k10.00 note . How much was it's writing pad cost?
  16. Lcm of three numbers
    prime What is the Lcm of 120 15 and 5
  17. Lcm simple
    lcm_gears Find least common multiple of this two numbers: 140 175.