List P contains all positive integers from 1 to 253 inclusive, and so P contains each integer of the form 2k where k is a positive integer from 1 to 53 inclusive. Thus, there are 53 such numbers in the list P. Since 4ℓ=(22)ℓ=22ℓ, then 4ℓ is in list P exactly when 22ℓ≤253 or 2ℓ≤53 for positive integers ℓ. The largest positive integer ℓ for which 2ℓ≤53 is 26 (since 2×26=52, and 2×27=54). Thus, for all positive integers $ℓ≤
26,4ℓisinlistP,andsothereare26 such numbers. We demonstrate this relationship between the powers of


2and4inthetablebelow.2^k2^12^22^32^42^52^6⋯2^{51}2^{52}2^{53}4ℓ=22ℓ4^1=2^24^2=2^44^3=2^6⋯4^{26}=2^{52}From(b),listPcontainsthe26numbers4^r=2^{2r}forpositiveintegersr≤ 26.Thatis,eachintegerpowerof4inPisequaltoapowerof2 whose exponent is an even positive integer. Since


8^t=(2^3)^t=2^{3t}, then each integer power of


8inPisequaltoapowerof2 whose exponent is a positive integer multiple of


3.Thus,anynumberinPthatisanintegerpowerofboth4and8mustbeequaltoapowerof2 whose positive integer exponent is both even and a multiple of


3,andthereforeamultipleof6.Pcontainsallnumbers2^kforpositiveintegersk≤ 53,andsoP contains the following powers of


2whoseexponentisamultipleof6:2^6,2^{12},2^{18},2^{24},2^{30},2^{36},2^{42},and2^{48}.Forpositiveintegersrandt,thereare8numbersinPthatcanbewrittenasboth4^randas8^t,andsothereare26-8=18numbersinPwhichcanbewrittenas4^rbutcannotbewrittenas8^t. We demonstrate this relationship between the powers of


2,4and8inthetablebelow.4^r=2^{2r}4^14^24^3=2^64^44^54^6=2^{12}⋯4^{24}=2^{48}4^{25}4^{26}8^t=2^{3t}8^2=2^{6}8^4=2^{12}⋯8^{16}=2^{48}4^rnot8^t4^14^24^44^5⋯4^{25}4^{26}$