An old woman went to the market and a horse stepped on her basket and smashed her eggs. The rider offered to pay for the eggs and asked her how many there were. She did not remember the exact number, but when she had taken them two at a time there was one egg left, and the same happened when she took three, four, five, and six at a time. But when she took them seven at a time, they came out even. What is the smallest number of eggs she could have had?
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.
Let the number of eggs be n
From the problem,
n ≡ 1 ( m o d 2 )
n ≡ 1 ( m o d 3 )
n ≡ 1 ( m o d 4 )
n ≡ 1 ( m o d 5 )
n ≡ 1 ( m o d 6 )
and n ≡ 0 ( m o d 7 )
⇒ n − 1 ≡ 0 ( m o d 2 , 3 , 4 , 5 , 6 )
L . C . M . of 2 , 3 , 4 , 5 , 6 = 6 0
n − 1 ≡ 0 ( m o d 6 0 )
Let n = 6 0 p + 1 for positive integer p
6 0 p + 1 = 7 k for positive integer k
When p = 7 a + 5 , 7 k = 4 2 0 a + 3 0 1
∴ n = 4 2 0 a + 3 0 1
Minimum value of n = 3 0 1
Problem Loading...
Note Loading...
Set Loading...
lcm ( 2 , 3 , 4 , 5 , 6 ) = 6 0 ,when she took 60 out there willl be one egg left,so consider the sequence 6 1 , 1 2 1 , 1 8 1 , 2 4 1 , 3 0 1