A farmer is taking her eggs to the market in a cart, but she hits a pothole, which knocks over all the containers of eggs. Though she is unhurt, every egg is broken. So she goes to her insurance agent, who asks her how many eggs she had. The farmer says she doesn't know, but she remembers somethings from various ways she tried packing the eggs.
When she put the eggs in groups of two, three, four, five, and six there was one egg left over, but when she put them in groups of seven they ended up in complete groups with no eggs left over.
How many eggs did she have?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
for i in range(10000): if i % 2 == 1 and i % 3== 1 and i % 4 == 1 and i % 5 == 1 and i % 6 == 1: if i % 7 == 0: print(i)