返回题库

AIME 1996 · 第 2 题

AIME 1996 — Problem 2

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

For each real number xx, let x\lfloor x \rfloor denote the greatest integer that does not exceed x. For how many positive integers nn is it true that n<1000n<1000 and that log2n\lfloor \log_{2} n \rfloor is a positive even integer?

解析

Solution

For integers kk, we want log2n=2k\lfloor \log_2 n\rfloor = 2k, or 2klog2n<2k+122kn<22k+12k \le \log_2 n < 2k+1 \Longrightarrow 2^{2k} \le n < 2^{2k+1}. Thus, nn must satisfy these inequalities (since n<1000n < 1000):

4n<84\leq n <8 16n<3216\leq n<32 64n<12864\leq n<128

256n<512256\leq n<512

There are 44 for the first inequality, 1616 for the second, 6464 for the third, and 256256 for the fourth, so the answer is 4+16+64+256=3404+16+64+256=\boxed{340}.