返回题库

AIME 2016 II · 第 11 题

AIME 2016 II — Problem 11

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

For positive integers NN and kk, define NN to be kk-nice if there exists a positive integer aa such that aka^{k} has exactly NN positive divisors. Find the number of positive integers less than 10001000 that are neither 77-nice nor 88-nice.

解析

Solution

We claim that an integer NN is only kk-nice if and only if N1(modk)N \equiv 1 \pmod k. By the number of divisors formula, the number of divisors of i=1npiai\prod_{i=1}^n p_i^{a_i} is i=1n(ai+1)\prod_{i=1}^n (a_i+1). Since all the aia_i's are divisible by kk in a perfect kk power, the only if part of the claim follows. To show that all numbers N1(modk)N \equiv 1 \pmod k are kk-nice, write N=bk+1N=bk+1. Note that 2kb2^{kb} has the desired number of factors and is a perfect kth power. By PIE, the number of positive integers less than 10001000 that are either 1(mod7)1 \pmod 7 or 1(mod8)1\pmod 8 is 143+12518=250143+125-18=250, so the desired answer is 999250=749999-250=\boxed{749}.

Solution by Shaddoll and firebolt360

Solution 2

All integers aa will have factorization 2a3b5c7d...2^a3^b5^c7^d.... Therefore, the number of factors in a7a^7 is (7a+1)(7b+1)...(7a+1)(7b+1)..., and for a8a^8 is (8a+1)(8b+1)...(8a+1)(8b+1).... The most salient step afterwards is to realize that all numbers NN not 1(mod7)1 \pmod{7} and also not 1(mod8)1 \pmod{8} satisfy the criterion. The cycle repeats every 5656 integers, and by PIE, 7+81=147+8-1=14 of them are either 77-nice or 88-nice or both. Therefore, we can take 42561008=756\frac{42}{56} * 1008 = 756 numbers minus the 77 that work between 100010081000-1008 inclusive, to get 749\boxed{749} positive integers less than 10001000 that are not nice for k=7,8k=7, 8.

Solution 3

An easier way to get N1(modk)N \equiv 1 \pmod k. Notice that they define kk-nice to be aka^k has NN positive divisors. This implies that if aa is prime, then NN is only kk-nice if and only if k+1=Nk+1 = N. Thus, we have proved that N1(modk)N \equiv 1 \pmod k for aa prime. Then, assume aa is composite. Then, aa itself can be split into multiple factors, each containing kx+1kx+1 per term for the prime factorization. Then, notice that this case becomes trivial! All factors split into multiples of kk, and obviously sums of kk are divisible by kk, EXCEPT for one, that being, 1 itself. Then, we have proved that NN is also kk-nice if N1(modk)N \equiv 1\pmod k. Then, as said in prior solutions, we must not have n1(mod7)n \equiv 1 \pmod 7 and n1(mod8)n \equiv 1 \pmod 8. Counting all 1(mod7)1 \pmod 7 between 1 and 1000, we have every number in the form 7N+17N + 1. There are then 143 numbers that satisfy that constraint. Then, for 1(mod8)1 \pmod 8, we have 8N+18N + 1, and there are 125 number that satisfy that. Then, to deal with 1(mod56)1 \pmod {56} (we over counted), we have 18 numbers, and thus to total number of 77 and 88 nice numbers is 143+12518=250143+125 - 18 = 250 numbers, and our answer is 999250=749999-250 = \boxed{749}.

~Pinotation