Problem:
Call a positive integer n extra-distinct if the remainders when n is divided by 2,3,4,5, and 6 are distinct. Find the number of extra-distinct positive integers less than 1000.
Solution:
Answer (049):
Suppose n is an extra-distinct integer, and for kβ{2,3,4,5,6}, let rkβ be the remainder when n is divided by k.
- If n is even, then r2β=0, and r4β and r6β must be even. Thus r4β=2 and r6β=4. Because nβ‘r6ββ‘4(mod6), it follows that nβ‘1(mod3), so r3β=1. Now the only available value for r5β is 3 . From these congruences, it follows that n+2 is divisible by 2,3,4,5, and 6 . Therefore n=60mβ2 for some positive integer m.
- If n is odd, then r2β=1, and r4β and r6β must be odd. Thus r4β=3 and r6β=5. Because nβ‘r6ββ‘5(mod6), it follows that nβ‘2(mod3), so r3β=2. Hence n+1 is divisible by 2,3,4, and 6 , and thus n=12mβ1 for some positive integer m. The only available values for r5β are 0 and 4 . Therefore either nβ‘β1(mod60) or nβ‘35(mod60).
It follows that among any 60 consecutive positive integers, exactly 3 are extra-distinct. Thus there are 3β
16=48 extra-distinct positive integers from 1 to 960 . There is 1 additional extra-distinct integer from 961 to 1000 because there is one extra-distinct integer between 1 and 40 . Hence the requested number of extra-distinct integers is 48+1=49.
The problems and solutions on this page are the property of the MAA's American Mathematics Competitions