AIME 2016 II · 第 11 题
AIME 2016 II — Problem 11
题目详情
Problem
For positive integers and , define to be -nice if there exists a positive integer such that has exactly positive divisors. Find the number of positive integers less than that are neither -nice nor -nice.
解析
Solution
We claim that an integer is only -nice if and only if . By the number of divisors formula, the number of divisors of is . Since all the 's are divisible by in a perfect power, the only if part of the claim follows. To show that all numbers are -nice, write . Note that has the desired number of factors and is a perfect kth power. By PIE, the number of positive integers less than that are either or is , so the desired answer is .
Solution by Shaddoll and firebolt360
Solution 2
All integers will have factorization . Therefore, the number of factors in is , and for is . The most salient step afterwards is to realize that all numbers not and also not satisfy the criterion. The cycle repeats every integers, and by PIE, of them are either -nice or -nice or both. Therefore, we can take numbers minus the that work between inclusive, to get positive integers less than that are not nice for .
Solution 3
An easier way to get . Notice that they define -nice to be has positive divisors. This implies that if is prime, then is only -nice if and only if . Thus, we have proved that for prime. Then, assume is composite. Then, itself can be split into multiple factors, each containing per term for the prime factorization. Then, notice that this case becomes trivial! All factors split into multiples of , and obviously sums of are divisible by , EXCEPT for one, that being, 1 itself. Then, we have proved that is also -nice if . Then, as said in prior solutions, we must not have and . Counting all between 1 and 1000, we have every number in the form . There are then 143 numbers that satisfy that constraint. Then, for , we have , and there are 125 number that satisfy that. Then, to deal with (we over counted), we have 18 numbers, and thus to total number of and nice numbers is numbers, and our answer is .
~Pinotation