How many ordered pairs of positive integers , with and , are there such that ?
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.
Solution 1: Consider the 900 pairs of ( a , b ) with both less than or equal to 30. Since 2 1 of them have a even, 2 1 of them have b even, so 1 − ( 1 − 2 1 ) 2 = 4 3 of them will have a b not even. Similarily, 1 − ( 1 − 3 1 ) 2 = 9 8 of them will have a b not a multiple of 3, 1 − ( 1 − 5 1 ) 2 = 2 5 2 4 of them will have a b not a multiple of 5. These events are independent of each other, so 4 3 × 9 8 × 2 5 2 4 of these pairs will satisfy our conditions. Thus, there are 9 0 0 × 4 3 × 9 8 × 2 5 2 4 = 5 7 6 ordered pairs satisfying the condition.
Solution 2: This is similar to Euler's Totient Function, and we can proceed similarly, to show that the general form is N 2 ∏ ( 1 − p k 2 1 ) .
Note: This is known as Jordan's Totient Function, of which Euler's function is a special case.