Let S be the set of integers of the form 2x+2y+2z, where x,y,z are pairwise distinct non-negative integers. Determine the 100th smallest element of S.
A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.
Solution
S is the set of positive integers with exactly three ones in its binary representation. The number of such integers with at most d total bits is (3d),andnotingthat(39)=84 and (310)=120, we want the 16th smallest integer of the form 2^{9}+2^{x}+2^{y},wherey<x<9.Ignoringthe2^{9}term,thereare(2d′) positive integers of the form 2x+2y with at most d′ total bits. Because (26)=15,ouransweris2^{9}+2^{6}+2^{0}=577$. (By a bit, we mean a digit in base 2 .)
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.
Source: Omni-MATH,
licensed Apache-2.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.