Maths Olympiad Prep

Library / /23 of 63

, 2026

Number theory Difficulty 2.1 Junior Prove it Canada

List PP contains all positive integers from 11 to 2532^{53}, inclusive.Figure 0 How many numbers in list PP can be written as 2k2^k where kk is a positive integer?Figure 1 Since 4=224=2^2, every power of 44 can be written as a power of 22. For example, 434^3 can be written as 43=(22)3=22×3=264^3=\left(2^2\right)^3=2^{2\times 3}=2^6. In general, $4n=(22)n=22×n=22n\$4^n=\left(2^2\right)^n=2^{2\times n}=2^{2n}.Howmanynumbersinlist. How many numbers in list Pcanbewrittenas can be written as 44^\ellwhere where \ell is a positive integer?Figure 2 Determine how many numbers in list

Figure for this problem

Figure for this problemPcanbewrittenas can be written as 4^rwhere where r is a positive integer, but cannot be written as

Figure for this problem

Figure for this problem

Figure for this problem8^twhere where t$ is a positive integer.

Solution

List PP contains all positive integers from 11 to 2532^{53} inclusive, and so PP contains each integer of the form 2k2^k where kk is a positive integer from 11 to 5353 inclusive. Thus, there are 5353 such numbers in the list PP. Since 4=(22)=224^\ell=(2^2)^\ell=2^{2\ell}, then 44^\ell is in list PP exactly when 222532^{2\ell}\leq2^{53} or 2532\ell\leq53 for positive integers \ell. The largest positive integer \ell for which 2532\ell\leq53 is 2626 (since 2×26=522\times26=52, and 2×27=542\times27=54). Thus, for all positive integers $\$\ell \leq
26,, 44^\ellisinlist is in list P,andsothereare, and so there are 26 such numbers. We demonstrate this relationship between the powers of

Figure for this problem

Figure for this problem

Figure for this problem2and and 4inthetablebelow. in the table below. 2^k 2^1 2^2 2^3 2^4 2^5 2^6 \cdots 2^{51} 2^{52} 2^{53} 4=224^{\ell}=2^{2\ell} 4^1=2^2 4^2=2^4 4^3=2^6 \cdots 4^{26}=2^{52}From(b),list From (b), list Pcontainsthe contains the 26numbers numbers 4^r=2^{2r}forpositiveintegers for positive integers rr\leq 26.Thatis,eachintegerpowerof. That is, each integer power of 4in in Pisequaltoapowerof is equal to a power of 2 whose exponent is an even positive integer. Since

Figure for this problem

Figure for this problem

Figure for this problem8^t=(2^3)^t=2^{3t}, then each integer power of

Figure for this problem

Figure for this problem

Figure for this problem8in in Pisequaltoapowerof is equal to a power of 2 whose exponent is a positive integer multiple of

Figure for this problem

Figure for this problem

Figure for this problem3.Thus,anynumberin. Thus, any number in Pthatisanintegerpowerofboth that is an integer power of both 4and and 8mustbeequaltoapowerof must be equal to a power of 2 whose positive integer exponent is both even and a multiple of

Figure for this problem

Figure for this problem

Figure for this problem3,andthereforeamultipleof, and therefore a multiple of 6.. Pcontainsallnumbers contains all numbers 2^kforpositiveintegers for positive integers kk\leq 53,andso, and so P contains the following powers of

Figure for this problem

Figure for this problem

Figure for this problem2whoseexponentisamultipleof whose exponent is a multiple of 6:: 2^6,, 2^{12},, 2^{18},, 2^{24},, 2^{30},, 2^{36},, 2^{42},and, and 2^{48}.Forpositiveintegers. For positive integers rand and t,thereare, there are 8numbersin numbers in Pthatcanbewrittenasboth that can be written as both 4^randas and as 8^t,andsothereare, and so there are 26-8=18numbersin numbers in Pwhichcanbewrittenas which can be written as 4^rbutcannotbewrittenas but cannot be written as 8^t. We demonstrate this relationship between the powers of

Figure for this problem

Figure for this problem

Figure for this problem2,, 4and and 8inthetablebelow. in the table below. 4^r=2^{2r} 4^1 4^2 4^3=2^6 4^4 4^5 4^6=2^{12} \cdots 4^{24}=2^{48} 4^{25} 4^{26} 8^t=2^{3t} 8^2=2^{6} 8^4=2^{12} \cdots 8^{16}=2^{48} 4^rnot not 8^t 4^1 4^2 4^4 4^5 \cdots 4^{25} 4^{26}$

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: CEMC, University of Waterloo, licensed CC-BY-NC-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.