For a positive integer define a positive integer to be if differs in absolute value by more than from all multiples of . For example, the set of numbers is
Find the number of positive integers which are simultaneously and .
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.
We are looking for numbers that are NOT equal to 0 , ± 1 , ± 2 (mod 7, 11, or 13).
Put another way, we want numbers that are simultaneously:
3 or 4 (mod 7);
3, 4, 5, 6, 7, or 8 (mod 11); and
3, 4, 5, 6, 7, 8, 9, or 10 (mod 13).
There are 2 * 6 * 8 = 96 possible combinations of the restrictions above.
By the Chinese Remainder Theorem, since 7, 11, and 13 are relatively prime, it follows that each of these combinations yields a unique solution (mod 7 * 11 * 13 = 1001). That is, there are 96 unique numbers between 1 and 1001 (inclusive) that are 7-safe, 11-safe, and 13-safe.
Since any set of numbers { i ∈ Z ∣ n ≤ i ≤ n + 1 0 0 0 , n ∈ Z } is a complete residue system (mod 1001), it follows that there are 96 more unique solutions for every adjacent block of 1001 numbers. Specifically, there are 960 unique solutions less than or equal to 10010.
It's easy to manually check that the only simultaneously 7-safe, 11-safe and 13-safe numbers in the range { i ∣ 1 0 0 0 1 ≤ i ≤ 1 0 0 1 0 } are 10006 and 10007, so we've over-counted by two, giving a final answer of 958 solutions.
Great question!