2005 AIME II Problem 4
Problem 4 of 15EasierNumber TheoryCombinatorics
Find the number of positive integers that are divisors of at least one of
Your answer
Integer from 0 to 999
Show solution
Solution
From the factorizations and the divisor counts are and
The divisors common to two of the numbers are exactly the divisors of their gcd: has divisors, has and has Only divides all three numbers.
By inclusion-exclusion, the count is
Tagged: factor counting · inclusion-exclusion · greatest common divisor