Question 744545
The smallest number divisible by 2,3,4,5, or 6 with a remainder of 1 is  their LCM + 1.<P>
Find the LCM by Step 1:  Finding the prime factors of each number:<P>
2 is a prime, 3 is a prime, 4 factors to 2*2, 5 is prime, 6 factors to 2*3<P>
Step 2:  Look at each prime number represented.  Whichever factor group has the most of that number, use that many of that prime number in a product that will be the LCM:<P>
The most 2's are in the factorization of 4, so use 2*2.  There are at most one 3 (in the prime factorization of 3 or 6).  There are at most one 5.<P>
The LCM is 2*2*3*5 = 60.  LCM + 1 is 61.  But 61 isn't divisible by 7.<P>
Now increase by 60 (add 1 to multiples of 60) until you find one divisible by 7.<P>
61 NO<P>
121 NO <P>
181 NO<P>
241 NO <P>
301 Yes.  This is the answer.<P>
The other way to calculate this is using the Chinese Remainder Theorem.  This theorem only holds true for co-prime numbers.  That is numbers that only have 1 as a common factor.<P>
The list of numbers in this problem is 2,3,4,5,6, and 7.  They aren't co-prime.  But any odd number will have a remainder (mod) 1 when divided by 2, so we can keep that in mind but forget about 2 for the calculation.<P>
We need to find some x such that x = 1 mod 2 (meaning there is a remainder of 1 when x is divided by 2.)  That's any odd number.<P>
x = 1 mod 3<P>
x = 1 mod 4<P>
x = 1 mod 5<P>
x = 1 mod 6<P>
x = 0 mod 7<P>
Drop 6, because 6 isn't co-prime with 3.  That leaves 3,4,5,and 7 as the co-prime numbers.  Our answer has to be 1 mod 6, but we won't use 6 in the calculation.<P>
Step 1:  Multiply the co-prime numbers: 3*4*5*7 = 420 (the co-prime LCM)<P>
Step 2:  Divide 420 by each number.  Divide that result by the number to find the remainder.<P>
420/3 = 140 (call this the factor number) and 140/3 has a remainder of 2 (call this the mod number):  140=2 mod 3.  <P>
420/4 = 105 and 105 = 1 mod 4<P>
420/5 = 84 and 84 = 4 mod 5<P>
420/7 = 60 and 60 = 4 mod 7<P>
Step 3:  Add together (for each number): (desired remainder) * (factor number) * (mod number) =<P>
1*140*2 + 1*105*1 + 1*84*4 + 0*60*4 = 280 + 105 + 336 + 0 = 721<P>
Step 4:  Find the remainder of Step 3 result divided by the co-prime LCM.  <P>
721 / 420 = 1 remainder 301.<P>
This number (301, the remainder) satisfies the condition that it must be odd (remainder 1 when divided by 2.)  It also satisfies the remainder of 1 when divided by 6. 301 is the answer<P>
<P>Hope the solution helped.  Sometimes you need more than a solution.  Contact fcabanski@hotmail.com for online, private tutoring, or personalized problem solving (quick for groups of problems.)