Home > Just Math
The farmer and the sheep (Posted on 2008-07-11) |
|
A farmer has some number of sheep and needs to divide them into equal groups.
He tries groups of 2, but finds he has 1 left over.
Then he tries groups of 3, but has 2 left over.
Then he tries groups of 4, but has 3 left over.
And so on, until he gets to groups of 17, and the sheep fit perfectly.
What is the minimum number of sheep he has?
|
Submitted by pcbouhid
|
Rating: 4.5000 (2 votes)
|
|
Solution:
|
(Hide)
|
5,045,039 sheep. See two different approaches in the comments (KS and Praneeth).
But no one answered Dej Marīs question. |
Comments: (
You must be logged in to post comments.)
|
|
Please log in:
Forums (1)
Newest Problems
Random Problem
FAQ |
About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On
Chatterbox:
|