Problem:
There are exactly K positive integers b with 5β€bβ€2024 such that the base- b integer 2024bβ is divisible by 16 (where 16 is in base ten). What is the sum of the digits of K ?
Answer Choices:
A. 16
B. 17
C. 18
D. 20
E. 21
Solution:
Notice that 2024bβ=2b3+2b+4=2(b+1)(b2βb+2), and consider the residue classes of this number modulo 8 . If bβ‘7(mod8), then b+1β‘0(mod8), and if bβ‘3 or 6 (mod8), then b2βb+2β‘0(mod8). In each case 2024bβ is divisible by 16 .
In all other cases 2024bβ is not divisible by 16 . Indeed, if bβ‘0,2, or 4(mod8), then b+1 is odd, and b2βb+2β‘b+2(mod8), so 2024bβ is divisible by no power of 2 greater than 23. If bβ‘1 or 5(mod8), then b+1 and b2βb+2 are both odd multiples of 2 , so 2024bβ is divisible by 8 , but not by 16 .
Because 2024=253β
8, there are 253β
3=759 positive integers bβ€2024 that are congruent to 3 , 6 , or 7 modulo 8 . The number 3 must be excluded from this total, because the problem statement requires b to be at least 5 . Thus K=759β1=758, and the sum of the digits of K is 7+5+8=(D)20β.
The problems on this page are the property of the MAA's American Mathematics Competitions